JP2006099566A - Screen forming device, screen forming program and storage medium recording the same - Google Patents

Screen forming device, screen forming program and storage medium recording the same Download PDF

Info

Publication number
JP2006099566A
JP2006099566A JP2004286622A JP2004286622A JP2006099566A JP 2006099566 A JP2006099566 A JP 2006099566A JP 2004286622 A JP2004286622 A JP 2004286622A JP 2004286622 A JP2004286622 A JP 2004286622A JP 2006099566 A JP2006099566 A JP 2006099566A
Authority
JP
Japan
Prior art keywords
attribute
screen
display
theme
common
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
JP2004286622A
Other languages
Japanese (ja)
Inventor
Youhan Kainuma
洋範 海沼
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 JP2004286622A priority Critical patent/JP2006099566A/en
Publication of JP2006099566A publication Critical patent/JP2006099566A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently change a common attribute of parts (objects) or the like constituting a screen of a programmable display or the like. <P>SOLUTION: A plotting editor forming a screen displays a theme selecting window 101 on a plotting window 102. The theme selecting window 101 includes attributes of objects, and displays theme patterns 103 so that their attributes appear on the appearances. The attribute of each object is preliminarily set so as to follow a common attribute (theme) setting. One of the theme patterns 103 is selected and determined in the theme selecting window 101, whereby the plotting editor collectively converts the attributes of the objects following the theme setting. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、プログラマブル表示器等の表示装置に表示される画面に含まれるオブジェクトの属性の変更を容易にする画面作成装置、画面作成プログラムおよびそれを記録した記録媒体に関するものである。   The present invention relates to a screen creation device, a screen creation program, and a recording medium on which a screen creation program that facilitates changing an attribute of an object included in a screen displayed on a display device such as a programmable display.

プログラマブル表示器は、ホストコントローラ(PLC)とのインタフェースを備えており、ホストコントローラに接続されたデバイスの稼働状況を表示したり、デバイスへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯等を表示することができ、制御システムにおける操作端末としての役割を果たす。   The programmable display has an interface with the host controller (PLC), displays the operating status of the device connected to the host controller, and accepts an operation input for giving a control instruction to the device from the screen. This is an operation-type display with a function. In general, since the programmable display has a graphic display function, it can display an operation panel, a switch, an indicator lamp, and the like, and serves as an operation terminal in the control system.

このようなプログラマブル表示器で表示される画面は、制御システムの仕様に応じて、画面作成ソフトウェア(作画ソフト)を用いてユーザ独自で作成できるようになっている。画面作成に際しては、ユーザが、パーソナルコンピュータ等において作画ソフトによって提供される部品、描画機能等を用いて所望の画面を構成する。   The screen displayed on such a programmable display can be created by the user by using screen creation software (drawing software) according to the specifications of the control system. When creating a screen, a user configures a desired screen by using components, drawing functions, and the like provided by drawing software in a personal computer or the like.

上記の部品は、スイッチ、テンキー、メータ表示器、グラフ表示器等をそれぞれ表す画像であって、実際の部品のごとく組み合わせて扱えるように、予めライブラリ形式で作画ソフトに用意されている。また、上記の部品は、部品を表すイメージと、そのイメージの動的変化を画面上の指定された位置で表現するための設定データとが組み合わされて用いられる。その設定データは、画面のデータの一部としてプログラマブル表示器のメモリに記憶される。   The above parts are images representing switches, numeric keys, meter displays, graph displays, etc., and are prepared in advance in drawing software in a library format so that they can be combined and handled as actual parts. In addition, the above-described component is used in combination with an image representing the component and setting data for expressing the dynamic change of the image at a designated position on the screen. The setting data is stored in the memory of the programmable display as part of the screen data.

作成された画面は、画面データとしてプログラマブル表示器に転送されて記憶される。そして、ホストコントローラの稼働時には、ホストコントローラに接続されたデバイスの状態に応じて、プログラマブル表示器の表示部に表示される画面上のメータ表示器等の出力部品が動的に変化する。また、スイッチ等の入力部品への画面上の入力操作が制御指示としてデバイスに与えられる。   The created screen is transferred to the programmable display device as screen data and stored. When the host controller is in operation, output components such as a meter display on the screen displayed on the display unit of the programmable display dynamically change according to the state of the device connected to the host controller. Further, an input operation on the screen to an input component such as a switch is given to the device as a control instruction.

作画ソフトにおいては、通常、作画ソフトのメーカによって提供された部品を利用するが、用意された部品を所望の仕様で利用したい場合は、その仕様をユーザ自身で変更しなければならない。このような部品の仕様を変更する技術を開示した文献としては、特許文献1および2が挙げられる。特許文献1および2では、部品をオブジェクトとして扱い、オブジェクトの属性(色、形等)をエディタで書き替えることを開示している。   In the drawing software, a part provided by the manufacturer of the drawing software is usually used. However, if the prepared part is to be used with a desired specification, the specification must be changed by the user himself / herself. Patent documents 1 and 2 are mentioned as literature which indicated the art which changes the specification of such parts. Patent Documents 1 and 2 disclose that a part is handled as an object and the attributes (color, shape, etc.) of the object are rewritten by an editor.

このようなエディタを用いて属性を変更するには、例えば、図9に示すように、属性を変更する部品を1つずつ選んで、形や色の属性を変更する。具体的には、各部品についてダイアログボックスや属性の一覧表を用いて文字にて表された属性を変更していき、図10に示すように、データ構造において、各画面1001,1002,…のオブジェクト1−1,1−2,…,2−1,2−2,…の属性を書き替える。
特開2001−266171号公報(2001年9月28日公開) 特開2003−150212号公報(2003年5月23日公開)
In order to change the attributes using such an editor, for example, as shown in FIG. 9, the parts whose attributes are to be changed are selected one by one, and the attributes of the shape and color are changed. Specifically, for each part, the attribute represented by characters is changed using a dialog box or a list of attributes, and as shown in FIG. 10, each screen 1001, 1002,. Rewrite the attributes of the objects 1-1, 1-2,.
JP 2001-266171 A (published September 28, 2001) JP 2003-150212 A (published May 23, 2003)

しかしながら、上記のような属性の変更方法では、各部品を共通する属性に変更しようとしても、各部品について1つずつ属性を変更するための操作が必要となる。それゆえ、多数の部品が配された画面のすべての部品について属性を変更したり、そのような画面の多数について各部品の属性を変更したりする場合、操作の手間が膨大となる。   However, in the attribute changing method as described above, even if each component is changed to a common attribute, an operation for changing the attribute one by one is required for each component. Therefore, if the attributes are changed for all the parts on the screen on which a large number of parts are arranged, or the attributes of the parts are changed for a large number of such screens, the labor of the operation becomes enormous.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、部品等(オブジェクト)の共通する属性を効率的に変更することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to efficiently change common attributes of parts and the like (objects).

本発明に係る画面作成装置は、複数の図形要素を含む画面を作成する画面作成装置において、上記課題を解決するために、前記図形要素の指定された属性を共通に設定される共通属性に変更する属性変更手段を備えていることを特徴としている。   The screen creation device according to the present invention is a screen creation device for creating a screen including a plurality of graphic elements, and in order to solve the above-mentioned problem, the designated attribute of the graphic element is changed to a common attribute set in common. It is characterized by providing attribute changing means.

上記の構成では、図形要素の指定された属性が属性変更手段によって共通属性に変更される。これにより、複数の図形要素の属性について共通属性に変更することを予め指定しておけば、一括してそれらの属性を共通属性に変更することができる。   In the above configuration, the specified attribute of the graphic element is changed to the common attribute by the attribute changing unit. As a result, if it is specified in advance that the attributes of a plurality of graphic elements are to be changed to common attributes, the attributes can be collectively changed to common attributes.

前記画面作成装置において、前記属性変更手段は、前記共通属性を一覧表示するとともに、その属性の設定を予め前記共通属性に従うと定められた前記図形要素について、一覧表示された共通属性から選択された共通属性に属性を変更することが好ましい。これにより、一覧表示された共通属性から所望の共通属性が選択されると、その共通属性に従うと定められた図形要素の属性が選択された共通属性に設定される。それゆえ、共通属性を設定する場合、各図形要素の属性の設定が共通属性に従うことのみを定めるだけで、それらの属性を共通属性に設定することができ、個々に属性を設定する必要がなくなる。   In the screen creation device, the attribute changing unit displays a list of the common attributes, and is selected from the list-displayed common attributes for the graphic elements whose attribute settings are determined in advance according to the common attributes. It is preferable to change the attribute to a common attribute. Thus, when a desired common attribute is selected from the common attributes displayed in the list, the attribute of the graphic element determined to follow the common attribute is set to the selected common attribute. Therefore, when setting common attributes, it is possible to set these attributes as common attributes only by determining that the attribute setting of each graphic element follows the common attributes, and it is not necessary to set the attributes individually. .

この画面作成装置において、前記属性変更手段は、前記共通属性が外観に現れるように形成された属性表示図形を前記共通属性として一覧表示することが好ましい。これにより、属性を視覚的に把握することができる。それゆえ、色や形のように視覚的にわかりやすい属性の設定をより容易にすることができる。   In this screen creation device, it is preferable that the attribute changing unit displays a list of attribute display figures formed so that the common attribute appears in appearance as the common attribute. Thereby, an attribute can be grasped visually. Therefore, it is possible to more easily set attributes such as colors and shapes that are visually easy to understand.

また、この画面作成装置において、前記共通属性は複数種の属性であることが好ましい。これにより、共通属性の属性種が多いほど一括変換の効率性が高くなる。それゆえ、文字にて表された各属性を1つずつ変更する従来の属性変更方法と比べて、各段に属性の変更を容易にすることができる。   In this screen creation device, the common attribute is preferably a plurality of types of attributes. As a result, the efficiency of batch conversion increases as the number of common attribute types increases. Therefore, it is possible to easily change the attribute at each stage as compared with the conventional attribute changing method in which each attribute represented by characters is changed one by one.

あるいは、前記属性変更手段は、一覧表示された前記属性表示図形から表示させない属性表示図形が選択されると、その属性表示図形を一覧表示から除外することが好ましい。これにより、不要な共通属性が表示されないので、必要な共通属性のみ表示させて共通属性の変更作業を容易にすることができる。   Alternatively, the attribute changing unit preferably excludes the attribute display graphic from the list display when an attribute display graphic that is not displayed is selected from the attribute display graphic displayed in a list. Thereby, since unnecessary common attributes are not displayed, only necessary common attributes can be displayed to facilitate the common attribute changing operation.

本発明の画面作成プログラムは、前述のいずれかの画面作成装置を動作させるための画面作成プログラムであって、コンピュータを上記属性変更手段として機能させるプログラムである。また、この画面作成プログラムは、コンピュータ読み取り可能な記録媒体に記録される。これにより、プログラムをコンピュータに読み取らせて実行させることにより前記画面作成装置を実現することができる。   The screen creation program of the present invention is a screen creation program for operating any of the screen creation devices described above, and is a program that causes a computer to function as the attribute changing means. The screen creation program is recorded on a computer-readable recording medium. Thereby, the said screen creation apparatus is realizable by making a computer read and run a program.

本発明に係る画面作成装置は、以上のように、前記図形要素の指定された属性を共通に設定される共通属性に変更するので、指定された属性を一括して共通属性に変更することができる。従って、共通する属性を有する図形要素について、効率良く属性を変更することができるという効果を奏する。   As described above, the screen creation device according to the present invention changes the designated attribute of the graphic element to the common attribute set in common, so that the designated attribute can be changed to the common attribute at once. it can. Therefore, there is an effect that the attributes can be efficiently changed for the graphic elements having the common attributes.

本発明の実施形態を図1ないし図8に基づいて説明すると、以下の通りである。   The embodiment of the present invention will be described with reference to FIGS. 1 to 8 as follows.

図1に示すように、本実施形態に係る制御システム1は、ホストコンピュータ2と、プログラマブル表示器3と、PLC4と、共通ネットワーク5と、専用ネットワーク6と、デバイス7とを備えている。   As shown in FIG. 1, the control system 1 according to this embodiment includes a host computer 2, a programmable display 3, a PLC 4, a common network 5, a dedicated network 6, and a device 7.

ホストコンピュータ2およびプログラマブル表示器3は、共通ネットワーク5を介して互いに接続されている。一方、プログラマブル表示器3およびPLC4は、専用ネットワーク6を介して接続されている。共通ネットワーク5は、共通の通信プロトコル(共通通信プロトコル)で通信を行うことが可能なイーサネット(登録商標)などからなるローカルエリアネットワーク(LAN)のようなネットワークである。専用ネットワーク6は、PLC4に固有の通信プロトコル(専用通信プロトコル)で通信を行うことが可能なシリアルケーブルなどからなるネットワークである。専用通信プロトコルは、PLC4がシーケンサから発達してきた経緯もあって、製造会社毎、あるいは、同一会社であっても製品毎など、PLC4の機種毎に異なっていることが多い。   The host computer 2 and the programmable display 3 are connected to each other via a common network 5. On the other hand, the programmable display 3 and the PLC 4 are connected via a dedicated network 6. The common network 5 is a network such as a local area network (LAN) made of Ethernet (registered trademark) or the like capable of performing communication using a common communication protocol (common communication protocol). The dedicated network 6 is a network composed of a serial cable or the like that can perform communication using a communication protocol (dedicated communication protocol) unique to the PLC 4. The dedicated communication protocol is often different for each PLC4 model, such as for each manufacturing company or for each product even if it is the same company, because the PLC4 has been developed from a sequencer.

本実施形態に係る制御システム1は、各PLC4にそれぞれ接続されるプログラマブル表示器3とホストコンピュータ2とを共通ネットワーク5で接続するとともに、共通ネットワーク5で使用する共通通信プロトコルとして、専用通信プロトコルとは独立して定めた共通のプロトコルを採用している。さらに、プログラマブル表示器3は、後述するように、プロトコルを変換する機能も有しており、例えば、命令コードの変換や引数の変換あるいは伝送時の制御コードの変換などのプロトコル変換を行って、ホストコンピュータ2と自機器に接続されたPLC4との通信を中継する。   The control system 1 according to the present embodiment connects the programmable display 3 and the host computer 2 respectively connected to each PLC 4 through a common network 5 and uses a dedicated communication protocol as a common communication protocol used in the common network 5. Adopts a common protocol defined independently. Furthermore, as will be described later, the programmable display 3 also has a function of converting a protocol, for example, by performing protocol conversion such as instruction code conversion, argument conversion, or control code conversion during transmission, The communication between the host computer 2 and the PLC 4 connected to the own device is relayed.

このような構成において、プログラマブル表示器3は、HMIとして動作するためPLC4に比べて演算能力に余力があるので、通信の大半を処理する。例えば、画面データのダウンロードのように、PLC4を介さず、ホストコンピュータ2からプログラマブル表示器3へ直接通信できる。したがって、PLC4の負担を軽減でき、制御システム1全体に必要な演算能力を削減できる。なお、プログラマブル表示器3は、オペレータの操作を待ち受けている間、演算能力に余力があるので、プロトコル変換のために演算能力を向上させることなく、プロトコル変換できる。   In such a configuration, the programmable display device 3 operates as an HMI, and therefore has more computing power than the PLC 4, and therefore handles most of the communication. For example, it is possible to communicate directly from the host computer 2 to the programmable display 3 without going through the PLC 4 like downloading screen data. Therefore, the burden on the PLC 4 can be reduced, and the calculation capability required for the entire control system 1 can be reduced. Note that the programmable display 3 has a sufficient computing capacity while waiting for an operator's operation, so that protocol conversion can be performed without improving the computing capacity for protocol conversion.

PLC4は、ユーザが作成した制御プログラム(ラダープログラム)にしたがって、入力ユニットを介して入力用のデバイス7から出力される出力データを取り込むとともに、出力用のデバイス7に制御データを与える。入力用のデバイス7しては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力用のデバイス7としては、アクチュエータ、リレー、電磁弁、表示器などが用いられる。これらのデバイス7…は、製造ラインなどの各種のターゲットシステムの所要各部に配置される。また、デバイス7は、後述するタッチパネル33などの入力装置から手動で入力されたデータを格納するための後述するメモリ部32における特定の領域であってもよい。   The PLC 4 captures output data output from the input device 7 via the input unit according to a control program (ladder program) created by the user, and gives the control data to the output device 7. As the input device 7, devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, etc.) are used. As the output device 7, an actuator, a relay, a solenoid valve, a display, or the like is used. These devices 7 are arranged in required portions of various target systems such as a production line. Further, the device 7 may be a specific area in the memory unit 32 described later for storing data manually input from an input device such as a touch panel 33 described later.

PLC4内のメモリ(デバイスメモリ)は、デバイス7の状態やデバイス7の設定値などのデータ(ワードデータやビットデータ)を、デバイスアドレスで指定された領域に格納している。メモリにおいて、ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、PLC4内の任意のワードデバイスまたはビットデバイスをアクセスするだけでデバイス7…を制御し、またはその状態に関する情報を個別に取り出すことができる。   The memory (device memory) in the PLC 4 stores data (word data and bit data) such as the state of the device 7 and the setting value of the device 7 in an area designated by the device address. In the memory, a word device is set as an area for storing word data such as numerical values as input / output data, and is designated by a word address (device address). The bit device is set as an area for storing bit data such as an on / off state, and is set by a bit address (device address). With such a setting, it is possible to control the devices 7 simply by accessing an arbitrary word device or bit device in the PLC 4, or to individually retrieve information relating to the state thereof.

以降の説明では、デバイスアドレスを適宜アドレスと称する。   In the following description, the device address is appropriately referred to as an address.

プログラマブル表示器3は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用のプログラム(画面データ)を実行することによりプログラマブル表示器特有の操作機能および表示機能を実現するコンピュータである。制御システム1のHMIとして好適に使用されるプログラマブル表示器3は、後述する処理指示語(タグ)を組み合わせて決定される画面データに基づいて、デバイス7の状態を画面表示する際の動作や、画面への操作に応じてデバイス7の状態を制御する際の動作を特定する。このプログラマブル表示器3は、専用ネットワーク6を介したPLC4との通信により、自機に接続されたPLC4を介して表示画面に状態を表示する各デバイス7の状態を取得し、例えば、後述のディスプレイ34に各デバイス7の状態を表示する機能を有する。また、プログラマブル表示器3は、後述のタッチパネル33への操作に応じて、デバイス7へデバイスの状態制御を指示する機能を有する。   The programmable display 3 includes an arithmetic processing unit such as a CPU, and realizes an operation function and a display function specific to the programmable display by executing a program (screen data) for input operation and display created by the user. It is a computer. The programmable display 3 suitably used as the HMI of the control system 1 is based on screen data determined by combining processing instructions (tags) to be described later, the operation when displaying the state of the device 7 on the screen, The operation for controlling the state of the device 7 in accordance with the operation on the screen is specified. This programmable display 3 acquires the state of each device 7 that displays the state on the display screen via the PLC 4 connected to the self-device through communication with the PLC 4 via the dedicated network 6. 34 has a function of displaying the status of each device 7. The programmable display 3 has a function of instructing the device 7 to control the state of the device in response to an operation on the touch panel 33 described later.

なお、デバイス7の状態の取得/変更は、その都度指示してもよいし、プログラマブル表示器3内にキャッシュを用意し、取得/変更時には、キャッシュへアクセスするとともに、所定の時間間隔毎や所定のイベント毎に通信してデバイスアドレスの実体と同期を取ってもよい。   The acquisition / change of the state of the device 7 may be instructed each time, or a cache is prepared in the programmable display 3, and the cache is accessed at the time of acquisition / change, and at predetermined time intervals or at predetermined intervals. Communication may be performed for each event to synchronize with the actual device address.

プログラマブル表示器3は、上記の機能を実現するために、HMI処理部31と、メモリ部32と、タッチパネル33、ディスプレイ34およびインターフェース部(図中、I/F)35,36を備えている。以下、プログラマブル表示器3の主要各部について詳細に説明する。   The programmable display 3 includes an HMI processing unit 31, a memory unit 32, a touch panel 33, a display 34, and interface units (I / F in the figure) 35 and 36 in order to realize the above functions. Hereinafter, each main part of the programmable display 3 will be described in detail.

タッチパネル33は、ディスプレイ34の表示画面上で入力を行うために設けられている入力装置である。ディスプレイ34は、プログラマブル表示器3を薄型に構成するために、液晶ディスプレイやELディスプレイのような平板型ディスプレイが好適に用いられる。   The touch panel 33 is an input device provided for performing input on the display screen of the display 34. The display 34 is preferably a flat display such as a liquid crystal display or an EL display in order to make the programmable display device 3 thin.

インターフェース部35は、プログラマブル表示器3が共通ネットワーク5上のホストコンピュータ2などとの間の通信を行うための通信制御部であり、共通ネットワーク5に接続されている。この共通ネットワーク5を介した通信により、ホストコンピュータ2などとの間でデータ送信が行われる。一方、インターフェース部36は、プログラマブル表示器3がPLC4との間の通信を行うための通信制御部であり、専用ネットワーク6に接続されている。この専用ネットワーク6を介した通信により、PLC4との間でデータ送信が行われる。   The interface unit 35 is a communication control unit for the programmable display 3 to communicate with the host computer 2 and the like on the common network 5, and is connected to the common network 5. Data is transmitted to and from the host computer 2 through communication via the common network 5. On the other hand, the interface unit 36 is a communication control unit for the programmable display 3 to communicate with the PLC 4, and is connected to the dedicated network 6. Data is transmitted to and from the PLC 4 by communication via the dedicated network 6.

このように構成される通信システムにおいては、PLC4からの出力データが、プログラマブル表示器3に送信され、さらにそのプログラマブル表示器3を介してホストコンピュータ2や共通ネットワーク5に接続された他の機器(図示せず)などに転送される。また、プログラマブル表示器3に設定されたデータは直接PLC4に送信されるだけでなく、ホストコンピュータ2や他の機器から送信されてきた設定データが、通信先のPLC4に接続されたプログラマブル表示器3を介してそのPLC4に転送される。   In the communication system configured as described above, output data from the PLC 4 is transmitted to the programmable display 3 and further connected to the host computer 2 or the common network 5 via the programmable display 3 ( (Not shown). Further, not only the data set in the programmable display 3 is directly transmitted to the PLC 4, but also the setting data transmitted from the host computer 2 or other devices is connected to the PLC 4 as the communication destination. Is transferred to the PLC 4 via.

HMI処理部31は、後述するユーザ画面の表示制御およびプロトコル変換の処理を行うために各種のデータ処理を行う。   The HMI processing unit 31 performs various data processing in order to perform user screen display control and protocol conversion processing, which will be described later.

プロトコル変換処理は、両ネットワーク5,6での通信プロトコルが互いに異なる場合、FEPROM32bに記憶された後述のプロトコル変換データを参照しながら、一方の通信プロトコルから他方の通信プロトコルへ変換する処理である。プロトコル変換処理は、メモリ部32に格納されたプロトコル変換プログラムがCPUなどの演算処理手段に実行されることによって実現される。なお、表示制御処理(表示制御機能)については、後に詳しく説明する。   The protocol conversion process is a process of converting from one communication protocol to the other communication protocol with reference to later-described protocol conversion data stored in the FEPROM 32b when the communication protocols in the networks 5 and 6 are different from each other. The protocol conversion process is realized by executing a protocol conversion program stored in the memory unit 32 by an arithmetic processing unit such as a CPU. The display control process (display control function) will be described in detail later.

メモリ部32は、DRAM32a、FEPROM(Flash Erasable and Programmable ROM)32b、SRAM32c等のメモリを含んでいる。   The memory unit 32 includes memories such as a DRAM 32a, a FEPROM (Flash Erasable and Programmable ROM) 32b, and an SRAM 32c.

DRAM32aは、主に、表示制御などの演算処理時の作業用に用いられる他、PLC4との間でやり取りされるデータの一時的な記憶に用いられる。特に、DRAM32aは、PLC4の入出力メモリに格納されるデバイス7の状態(デバイスアドレスの内容)を入出力メモリとの間で受け渡しするための状態メモリ領域を有している。   The DRAM 32a is mainly used for work during arithmetic processing such as display control, and is also used for temporary storage of data exchanged with the PLC 4. In particular, the DRAM 32a has a state memory area for transferring the state (device address contents) of the device 7 stored in the input / output memory of the PLC 4 to / from the input / output memory.

SRAM32cは、PLC4から得られたデータをロギングしたり、PLC4に与える設定値データ(レシピデータ)を記憶したりするために用いられる。   The SRAM 32 c is used for logging data obtained from the PLC 4 and storing setting value data (recipe data) to be given to the PLC 4.

FEPROM32bは、書き替え可能な読み出し専用のフラッシュメモリであり、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。   The FEPROM 32b is a rewritable read-only flash memory, and serves as 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.

また、上記のFEPROM32bは、図2に示すように、表示制御システムプログラムと、プロトコル変換データと、通信プロトコルと、画面データとをそれぞれ格納するエリアを有している。   Further, as shown in FIG. 2, the FEPROM 32b has areas for storing a display control system program, protocol conversion data, a communication protocol, and screen data.

表示制御システムプログラムは、画像表示制御を行うための基本機能を実現するためのプログラムである。この表示制御システムプログラムがHMI処理部31において実現する機能については、後に詳しく説明する。   The display control system program is a program for realizing a basic function for performing image display control. Functions realized by the display control system program in the HMI processing unit 31 will be described in detail later.

プロトコル変換データは、専用ネットワーク6と共通ネットワーク5との間で通信プロトコルを相互変換できれば、どのような形式でもよいが、本実施の形態では、専用ネットワーク6で伝送されるデータのフォーマットを示すデータ転送フォーマットと、両ネットワーク5,6で伝送されるコマンドコード間の対応関係を示すコマンド変換テーブルとを記憶している。   The protocol conversion data may be in any format as long as the communication protocol can be mutually converted between the dedicated network 6 and the common network 5, but in the present embodiment, data indicating the format of data transmitted on the dedicated network 6 A transfer format and a command conversion table indicating the correspondence between command codes transmitted in both networks 5 and 6 are stored.

通信プロトコル(専用通信プロトコル)は、PLC4との通信処理で用いられるプロトコルであり、PLC4の機種(メーカ)に応じて固有に定められている。この通信プロトコルには、PLC4へのデータの読み出しを指示するコマンドコードが含まれている。このコマンドコードは、PLC4の制御機能に対応付けられているアドレスと組み合わされることによって、所望の制御機能についてのデータをPLC4に送信することができる。   The communication protocol (dedicated communication protocol) is a protocol used in communication processing with the PLC 4, and is uniquely determined according to the model (manufacturer) of the PLC 4. This communication protocol includes a command code that instructs reading of data to the PLC 4. By combining this command code with an address associated with the control function of the PLC 4, data about a desired control function can be transmitted to the PLC 4.

画面データは、プログラマブル表示器3に表示される画面のデータであり、ディスプレイ34に表示すべきベース画面や部品のデータおよび各部品に付与された後述する処理指示語Wなどを含んでいる。画面データは、後述する作画エディタ23によって作成されて、FEPROM32bにダウンロードされている。この画面データは、ファイルの形式で画面ファイルとしてFEPROM32bに保存される。この画面ファイルは、図形データ部およびアドレスデータ部から構成されている。図形データ部は、円や四角形などの図形データ、部品のデータ、文字列、処理指示語Wなどを含んでいる。アドレスデータ部は、図形データ部における部品のデータや処理指示語Wなどのアドレスに対応付けられるデータについて、作画エディタ23で設定された前記のアドレスおよびアドレスに対応するコメントを含んでいる。   The screen data is data of a screen displayed on the programmable display 3, and includes a base screen to be displayed on the display 34, data of parts, a processing instruction word W described later assigned to each part, and the like. The screen data is created by a drawing editor 23 described later and downloaded to the FEPROM 32b. This screen data is stored in the FEPROM 32b as a screen file in a file format. This screen file is composed of a graphic data part and an address data part. The graphic data portion includes graphic data such as a circle and a rectangle, part data, a character string, a processing instruction word W, and the like. The address data portion includes comments corresponding to the addresses and addresses set in the drawing editor 23 for data associated with addresses such as component data and processing instruction word W in the graphic data portion.

コメントとしては、デバイスの動作状態のような事象名や、スイッチに対応するSWやランプに対応するLAMPのようなデバイス7に対応する符号や、操作指示などが挙げられる。また、コメントは、変数として扱うこともできる。このように定義されるコメントは、デバイス7に対応する所望の入出力端子番号(後述のデバイスアドレス)に予め対応付けられている。   The comment includes an event name such as an operation state of the device, a code corresponding to the device 7 such as SW corresponding to the switch and a lamp, and an operation instruction. Comments can also be handled as variables. The comment defined as described above is associated with a desired input / output terminal number (device address described later) corresponding to the device 7 in advance.

図3に示すように、画面データに含まれる処理指示語(タグ)Wは、ベース画面上で実行されるべき事象毎に作成されている。この処理指示語Wは、基本的には、表示制御動作を実行すべきベース画面のファイル番号Fと、このベース画面上で実行すべき動作内容を特定する事象名Tと、各実行事象毎に参照される1または複数のデータからなる参照情報Iとを一組として備えている。   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 for specifying the operation content to be executed on the base screen, and the execution event for each execution event. A set of reference information I including one or a plurality of data to be referred to is provided.

本実施形態に係るプログラマブル表示器4では、上記のタグとして、ベース画面上の領域(表示範囲)とその領域への表示に対応するデバイスのアドレスとの対応を示す表示タグ、および画面上の領域(入力範囲)とその領域へのタッチ入力に対応するアドレスとの対応を示す入力タグが規定されている。さらに、本実施形態では、各タグは、複数の単位画面の少なくとも1つと関連付けることができる。   In the programmable display device 4 according to the present embodiment, as the above-described tag, a display tag indicating the correspondence between the area (display range) on the base screen and the address of the device corresponding to the display in the area, and the area on the screen An input tag indicating a correspondence between (input range) and an address corresponding to a touch input to the region is defined. Furthermore, in this embodiment, each tag can be associated with at least one of a plurality of unit screens.

表示タグは、タッチパネル33の操作と連動して、ベース画面上における対応位置に所定の図形を表示可能とする。すなわち、表示タグは、ファイル番号Fとしてベース画面27のファイル番号を含み、事象名として図形などの表示対象の表示を特定する事象名を含み、表示対象の表示座標範囲、呼び出す表示対象を特定するファイル番号、および表示対象を表示時に参照するアドレスを含んでいる。   The display tag can display a predetermined graphic at a corresponding position on the base screen in conjunction with the operation of the touch panel 33. That is, the display tag includes the file number of the base screen 27 as the file number F, includes the event name that specifies the display of the display target such as a graphic as the event name, and specifies the display coordinate range of the display target and the display target to be called. It contains the file number and the address for referencing the display target when displaying.

また、入力タグは、例えば、タッチパネル33に対するタッチ操作と連動して、DRAM32a内に設けられた前述の状態メモリ領域内の所定アドレス位置に設定したビットデバイスを反転可能とする。すなわち、入力タグは、ファイル番号Fとして単位画面のファイル番号を含み、事象名Tとしてタッチパネル33の操作を特定する事象名を含み、参照情報Iとしてタッチパネル33からの入力操作を有効とする入力座標範囲、およびタッチパネル33のタッチ操作と連動してデータを書き替えるべきアドレスを含んでいる。   Also, the input tag enables the bit device set at a predetermined address position in the state memory area provided in the DRAM 32a to be reversed in conjunction with, for example, a touch operation on the touch panel 33. That is, the input tag includes the file number of the unit screen as the file number F, the event name specifying the operation of the touch panel 33 as the event name T, and the input coordinates that validate the input operation from the touch panel 33 as the reference information I The range and the address to which data should be rewritten in conjunction with the touch operation on the touch panel 33 are included.

図4に示すように、画面ファイルは、1または複数の単位画面ファイルUF1,UF2,…,UFn(以降、全単位画面に共通して述べる場合は単に「UF」とする)、および各単位画面UFから呼び出して表示するための関連する図形ファイルFF1,FF2,…,FFmからなるプロジェクトファイルPFによって構成される。プロジェクトファイルPFにおいては、例えば、メイン画面となる単位画面ファイルUF1から単位画面ファイルUF2を呼び出し、この単位画面ファイルUF2からさらに単位画面ファイルUF3を呼び出すというように、各単位画面ファイルUFが階層的に関連付けられている。また、単位画面ファイルUFは、ベース画面上で構成された各要素におけるデータを1つにまとめて1つの単位画面ファイルUFとして構成されている。   As shown in FIG. 4, the screen file is composed of one or a plurality of unit screen files UF1, UF2,... UFn (hereinafter simply referred to as “UF” when commonly described for all unit screens), and each unit screen. It is constituted by a project file PF composed of related graphic files FF1, FF2,... FFm to be called from the UF and displayed. In the project file PF, for example, each unit screen file UF is hierarchically called such that the unit screen file UF2 is called from the unit screen file UF1 serving as the main screen, and the unit screen file UF3 is further called from the unit screen file UF2. Associated. In addition, the unit screen file UF is configured as one unit screen file UF by collecting data in each element configured on the base screen into one.

HMI処理部31の表示制御機能は、画面データの表示、ユーザ画面への各種のデータの設定、設定されたデータのPLC4への送信およびPLC4から受信されたデータのユーザ画面への表示を、前述の表示制御システムプログラムをプログラマブル表示器3が備えるCPUなどの演算処理手段に実行させることにより実現する機能である。この表示制御機能は、画面データから、現在表示中の単位画面に関連する表示タグを抽出するとともに、各表示タグに関連するデバイスアドレスの内容をそれらの表示タグについて所定の周期毎に読み出し、表示タグで指定された表現形式の部品等を読み出した値に応じた形態で画面上の指定された領域へ表示する。一方、上記の表示制御機能は、タッチパネル33への入力操作を受け付けると、現在表示中の単位画面に対応し、その入力操作にマッチする入力タグを画面データから検索し、入力タグが示すデバイスアドレスの内容(デバイスアドレスで特定されるメモリ領域に格納されたデータ)を入力結果に応じて書き替える。これにより、プログラマブル表示器3は、画面データが示すデバイス7の状態を、画面データが示す表現形式で画面データが示す表示位置(部品など)に表示したり、画面データにおいて部品などによる入力操作に応じて制御したりできる。   The display control function of the HMI processing unit 31 is configured to display screen data, set various data on the user screen, transmit the set data to the PLC 4, and display the data received from the PLC 4 on the user screen. This display control system program is realized by causing an arithmetic processing means such as a CPU included in the programmable display 3 to execute the display control system program. This display control function extracts the display tag related to the unit screen currently being displayed from the screen data, and reads the contents of the device address related to each display tag at a predetermined cycle for the display tag. The part of the expression format specified by the tag is displayed in the specified area on the screen in a form corresponding to the read value. On the other hand, when the display control function receives an input operation on the touch panel 33, the display control function searches the screen data for an input tag corresponding to the currently displayed unit screen and matches the input operation, and indicates the device address indicated by the input tag. (Data stored in the memory area specified by the device address) is rewritten according to the input result. Thereby, the programmable display 3 displays the state of the device 7 indicated by the screen data at a display position (parts, etc.) indicated by the screen data in an expression format indicated by the screen data, or allows an input operation by a part in the screen data. Can be controlled accordingly.

続いて、ホストコンピュータ2について説明する。ホストコンピュータ2は、一般の汎用パーソナルコンピュータと同様に、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有している。また、ホストコンピュータ2は、図1に示すように、制御部21、インターフェース部(図中、I/F)22、作画エディタ23およびデータ記憶部24を備えている。   Next, the host computer 2 will be described. The host computer 2 has a CPU, a memory (RAM, ROM, etc.), an external storage device (hard disk drive, MO drive, etc.), a display device and an input device (keyboard, mouse, etc.) like a general-purpose personal computer. ing. Further, as shown in FIG. 1, the host computer 2 includes a control unit 21, an interface unit (I / F in the figure) 22, a drawing editor 23, and a data storage unit 24.

インターフェース部22は、プログラマブル表示器3との間の通信を行うための通信制御部であり、共通ネットワーク5に接続されている。   The interface unit 22 is a communication control unit for performing communication with the programmable display 3 and is connected to the common network 5.

制御部21は、CPUやメモリを含む演算処理を行う部分であり、オペレーティングシステム上でアプリケーションプログラムである作画エディタ23を実行する。ホストコンピュータ2は、制御部21に作画エディタ23を実行させることにより、画面作成装置として機能する。作画エディタ23は、ホストコンピュータ2と分離可能に構成される記録媒体に記録され、この記憶媒体からホストコンピュータ2にインストールすることが可能である。   The control unit 21 is a part that performs arithmetic processing including a CPU and a memory, and executes a drawing editor 23 that is an application program on the operating system. The host computer 2 functions as a screen creation device by causing the control unit 21 to execute the drawing editor 23. The drawing editor 23 is recorded on a recording medium configured to be separable from the host computer 2 and can be installed in the host computer 2 from this storage medium.

上記の記録媒体は、コンピュータに読み取り可能な記録媒体であり、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   The recording medium is a computer-readable recording medium, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk system such as a flexible disk or a hard disk, an optical disk system such as a CD-ROM, MO, MD, or DVD, A card system such as an IC card (including a memory card) or an optical card is suitable. 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.

また、本制御システム1は、インターネットを含む通信ネットワークと接続可能なシステム構成であることから、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めホストコンピュータ2に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   Further, since the control system 1 has a system configuration that can be connected to a communication network including the Internet, the control system 1 may be a medium that dynamically carries the program so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in the host computer 2 in advance or may be installed from another recording medium.

作画エディタ23は、画面作成部23a、アドレス設定部23bおよび属性設定部23cを含んでいる。   The drawing editor 23 includes a screen creation unit 23a, an address setting unit 23b, and an attribute setting unit 23c.

画面作成部23aは、ユーザ独自の画面であるユーザ画面を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、各種のタグ設定機能、描画機能、テキスト入力機能などを備えている。部品としては、単一の機能を有する部品だけでなく、複数の機能を有する、複合スイッチ、カウンタ、タイマといった複合機能を有する部品が用意されている。図形要素としての部品は、ユーザが容易に選択できるようにライブラリ形式で登録されており、部品の機能に応じた入力タグや表示タグなどが予め付与されている。描画機能は、直線や曲線の線図形(図形要素)を描画したり、円、四角形、三角形などの基本図形(図形要素)の描画および図形内の指定色や模様による塗りつぶしを行ったりするための機能である。また、画面作成部23aは、ベース画面上で構成された各要素におけるデータを1つにまとめて1つの単位画面ファイルPFを構成するとともに、複数の単位画面ファイルUFを1つにまとめて、前述のプロジェクトファイルPFを構成する。   The screen creation unit 23a is capable of creating a user screen that is a user's own screen, such as switches, lamps, numeric keys, various displays (for example, numerical display, meter display, and graph display), It has a tag setting function, a drawing function, a text input function, and the like. As components, not only components having a single function but also components having a plurality of functions such as a composite switch, a counter, and a timer are prepared. Parts as graphic elements are registered in a library format so that the user can easily select them, and input tags, display tags, and the like corresponding to the functions of the parts are assigned in advance. The drawing function is used to draw line and curved line figures (graphic elements), to draw basic figures (graphic elements) such as circles, quadrilaterals, and triangles, and to fill them with specified colors and patterns in the figure. It is a function. In addition, the screen creation unit 23a collects the data of each element configured on the base screen into one unit screen file PF, and combines the plurality of unit screen files UF into one unit. The project file PF is configured.

上記部品および基本図形は、形、色(内部の塗り込み色)、大きさなどを属性として有している。したがって、単位画面ファイルUFは、その属性のデータである属性データを含んでいる。また、単位画面ファイルUFにおける部品および基本図形はオブジェクトとして扱われる。   The parts and basic figures have attributes such as shape, color (internal coating color), and size. Therefore, the unit screen file UF includes attribute data that is data of the attribute. The parts and basic figures in the unit screen file UF are treated as objects.

ユーザは、表示された部品一覧からドラッグ&ドロップなどの操作によってベース画面に選択した部品を配置したり、部品の大きさを変更したりする。また、ユーザは、描画機能を用いて、従来の作画ソフトウエアとほぼ同様に、直線や曲線を主体とする線画あるいはその内部や基本図形の内部を所定の色や模様で塗りつぶすことにより、任意の描画図形をベース画面上で作成できる。さらに、ユーザは、タグ設定機能を用いて、プログラマブル表示器3が用意する処理指示語群から、必要とする機能の処理指示語Wをベース画面上に描画した任意の図形に個別に設定することにより、作画エディタ23に予め用意されている上記の部品と異なる新たな部品を作成することができる。   The user arranges the selected component on the base screen by an operation such as drag and drop from the displayed component list, or changes the size of the component. In addition, the user can arbitrarily draw a line drawing mainly including a straight line or a curve or the inside of a basic figure with a predetermined color or pattern, using a drawing function, almost like a conventional drawing software. Drawing figures can be created on the base screen. Furthermore, the user can individually set the processing instruction word W of the required function to an arbitrary figure drawn on the base screen from the processing instruction word group prepared by the programmable display 3 using the tag setting function. Thus, a new part different from the above parts prepared in advance in the drawing editor 23 can be created.

アドレス設定部23bは、前述のアドレスと、各アドレスで特定されるワードデバイスまたはビットデバイスについてユーザにより設定されたコメント(変数)とを部品に設定する(対応付ける)。具体的には、アドレス設定部23bは、アドレス設定用のダイアログボックスをユーザインターフェースとして提供し、そのダイアログボックスによって入力されたアドレスを部品に設定する。これにより、部品106がアドレスと関連付けられる。また、アドレス設定部23bは、アドレスの設定の解除も行う。   The address setting unit 23b sets (corresponds to) the above-described address and a comment (variable) set by the user for the word device or bit device specified by each address. Specifically, the address setting unit 23b provides an address setting dialog box as a user interface, and sets an address input by the dialog box as a component. As a result, the component 106 is associated with the address. The address setting unit 23b also cancels the address setting.

属性変更手段としての属性設定部23cは、上記のオブジェクトの属性をユーザが指定した属性に変更する。また、属性設定部23cは、各オブジェクトに共通する属性(共通属性)をテーマとして予め複数種類用意しており、テーマが指定されたオブジェクトをそのテーマで特定される属性に変更する。具体的には、属性設定部23cは、図5に示すように、テーマ選択ウインドウ101をユーザインターフェースとして用意しており、このテーマ選択ウインドウ101を作画ウインドウ102上に重ねて表示する。   The attribute setting unit 23c as an attribute changing unit changes the attribute of the object to an attribute designated by the user. In addition, the attribute setting unit 23c prepares a plurality of types of attributes (common attributes) common to each object in advance as a theme, and changes an object for which the theme is specified to an attribute specified by the theme. Specifically, as shown in FIG. 5, the attribute setting unit 23 c prepares a theme selection window 101 as a user interface, and displays the theme selection window 101 so as to overlap the drawing window 102.

テーマ選択ウインドウ101には、オブジェクトに対応して用意された1つ以上のテーマ図形103(属性表示図形)が一覧表示される。テーマ図形103は、テーマとしての各種の属性によって形成された複数種類の図形であって、オブジェクトの属性を1つ以上含んでおり、その属性が外観に現れるように形成されている。例えば、図5に示すテーマ図形103は、それぞれ作画ウインドウ102に表示されたボタンスイッチ105(部品)のオブジェクトについて2つの属性を含んでおり、外形が四角形で赤い図形、外形が四角形で黒い図形、外形が面取りされた四角形で青い図形、および白い丸の図形が用意されている。   The theme selection window 101 displays a list of one or more theme graphics 103 (attribute display graphics) prepared for the objects. The theme graphic 103 is a plurality of types of graphics formed by various attributes as a theme, and includes one or more object attributes, and is formed so that the attributes appear in the appearance. For example, the theme graphic 103 shown in FIG. 5 includes two attributes for the object of the button switch 105 (component) displayed in the drawing window 102, the external shape is a square and a red graphic, the external shape is a square and a black graphic, A blue figure with a chamfered outer shape and a white circle figure are prepared.

属性設定部23cは、ポインティングデバイスによってカーソル104でテーマ図形103が選択指示されると、テーマが設定されたオブジェクトの属性を、そのテーマ図形103で特定される属性に変更する。   When the theme graphic 103 is selected and instructed with the cursor 104 by the pointing device, the attribute setting unit 23 c changes the attribute of the object for which the theme is set to the attribute specified by the theme graphic 103.

また、属性設定部23cは、テーマ選択ウインドウ101から不要なテーマ図形103を表示しないようにするための非表示確認ウインドウ106をユーザインターフェースとして用意している。具体的には、属性設定部23cは、非表示とされるテーマ図形103が選択された状態で、テーマ選択ウインドウ101における削除ボタンがカーソル104で指示操作されると、非表示確認ウインドウ106をテーマ選択ウインドウ101上に重ねて表示し、OKボタンが指示操作されると、そのテーマ図形103をテーマ選択ウインドウ101から消去する。このように、不要なテーマ図形103を表示させないことにより、必要なテーマ図形103のみ表示させてテーマ変更作業を容易にすることができる。   Further, the attribute setting unit 23c prepares a non-display confirmation window 106 as a user interface for preventing the unnecessary theme graphic 103 from being displayed from the theme selection window 101. Specifically, the attribute setting unit 23c sets the non-display confirmation window 106 when the delete button in the theme selection window 101 is instructed with the cursor 104 in a state where the non-display theme graphic 103 is selected. When the OK button is instructed and displayed on the selection window 101, the theme graphic 103 is deleted from the theme selection window 101. In this way, by not displaying the unnecessary theme graphic 103, only the required theme graphic 103 can be displayed to facilitate the theme changing operation.

なお、消去されたテーマ図形103はデータそのものとしては削除されていないため、属性設定部23cによって再びテーマ選択ウインドウ101に表示されることも可能である。   Since the deleted theme graphic 103 is not deleted as data itself, it can be displayed again in the theme selection window 101 by the attribute setting unit 23c.

また、属性設定部23cは、ユーザによる各オブジェクトの属性の設定を受け付ける。プロジェクトファイルPFにおける属性のデータ構造は、例えば、図8の左側に示されるように、まず、プロジェクトヘッダーが配置され、それに続いて色および形についてのテーマ設定が配置され、さらに各画面のオブジェクトについて色および形の属性をテーマに従うか個別の属性に設定するかが記述される。属性設定部23cは、上記のデータ構造において各オブジェクトについての属性をテーマに従うか個別の属性に設定するかをユーザに決定させるようなユーザインターフェース(図示せず)をダイアログボックスなどの形態で提供する。   Further, the attribute setting unit 23c accepts the setting of the attribute of each object by the user. The attribute data structure in the project file PF is, for example, as shown on the left side of FIG. 8, first, a project header is arranged, followed by theme settings for colors and shapes, and each object on each screen. Describes whether the color and shape attributes are set according to the theme or as individual attributes. The attribute setting unit 23c provides a user interface (not shown) in the form of a dialog box or the like that allows the user to determine whether the attribute of each object in the above data structure is set according to the theme or set as an individual attribute. .

データ記憶部24は、作画エディタ23によって作成されたプロジェクトファイルPFを記憶する記憶装置である。データ記憶部24は、メモリなどの記憶素子やハードディスク装置のような大容量記憶装置で構成される。データ記憶部24に記憶されているプロジェクトファイルPFは、実行環境にダウンロードするために、プログラマブル表示器3に転送されてFEPROM32bに保存される。   The data storage unit 24 is a storage device that stores the project file PF created by the drawing editor 23. The data storage unit 24 includes a storage element such as a memory or a large capacity storage device such as a hard disk device. The project file PF stored in the data storage unit 24 is transferred to the programmable display 3 and stored in the FEPROM 32b for downloading to the execution environment.

ここで、上記のように構成される制御システム1におけるオブジェクトの属性変更の動作について説明する。   Here, the operation of changing the attribute of the object in the control system 1 configured as described above will be described.

ここでは、図7に示すように、複数のオブジェクトが共通に有する四角形で白い属性ををすべて丸く黒い属性に変更する例について説明する。属性変更前のプロジェクトファイルPFにおける属性のデータ構造において、図8の左側に示されるように、テーマ設定が色については白に設定され、形については四角に設定されている。また、このデータ構造において、画面1001,1002,…における各オブジェクト1−1,1−2,…,2−1,2−2,…の属性(色および形)は、テーマに従うように設定されている。   Here, as shown in FIG. 7, an example will be described in which a white attribute is changed to a round and black attribute in a square that is shared by a plurality of objects. In the attribute data structure in the project file PF before the attribute change, as shown on the left side of FIG. 8, the theme setting is set to white for the color and set to the square for the shape. In this data structure, the attributes (colors and shapes) of the objects 1-1, 1-2,..., 2-1, 2-2,. ing.

次いで、作画エディタ23が起動された状態で、テーマ選択ウインウ101をドロップダウンメニューなどから選択することにより表示させる。ユーザが、このテーマ選択ウインドウ101からテーマ図形103を1つ選択して確定すると、属性設定部23cによって、テーマ設定が確定したテーマ図形103で特定されるテーマに変更される。これにより、データ構造は、図8の左側に示すように、テーマ設定が色については黒に書き替えられ、形については丸に書き替えられる。各オブジェクトは、テーマに従うように設定されているので、すべてのオブジェクトの属性が、色については黒に変更され、形については丸に変更される。   Next, the theme selection window 101 is displayed by selecting it from a drop-down menu or the like with the drawing editor 23 activated. When the user selects and confirms one theme graphic 103 from the theme selection window 101, the attribute setting unit 23c changes the theme to the theme specified by the theme graphic 103 for which the theme setting has been confirmed. Thereby, as shown on the left side of FIG. 8, the theme setting is rewritten to black for the color and the circle for the shape. Since each object is set to follow the theme, the attributes of all the objects are changed to black for color and to circle for shape.

なお、テーマに従わない属性を設定する場合は、従来と同様、図10に示すように、そのような設定をするオブジェクトについて個別に属性を設定すればよい。   Note that when setting an attribute that does not follow the theme, as in the prior art, as shown in FIG. 10, it is only necessary to set the attribute individually for the object to be set.

このように、本制御システム1においては、作画エディタ23に設けられた属性設定部23cによって、共通のテーマを予め設定しておき、テーマ選択ウインドウ101を用いてテーマを変更する。これにより、テーマに従うように定められた各オブジェクトの属性がテーマの属性に一括して変更される。それゆえ、共通属性を設定する場合、各オブジェクトの属性の設定がテーマに従うことのみを定めるだけで、それらの属性をテーマの属性に設定することができ、個々に属性を設定する必要がなくなる。従って、共通する属性を有するオブジェクトについて、効率良く属性を変更することができる。   As described above, in the present control system 1, a common theme is set in advance by the attribute setting unit 23 c provided in the drawing editor 23, and the theme is changed using the theme selection window 101. Thereby, the attribute of each object determined to follow the theme is collectively changed to the theme attribute. Therefore, when setting common attributes, it is only necessary to determine that the setting of the attributes of each object follows the theme, and these attributes can be set as the attributes of the theme, eliminating the need to set the attributes individually. Therefore, attributes can be efficiently changed for objects having common attributes.

また、テーマの変更を複数種の属性を持たせたテーマ図形103を選択することにより実行するので、属性を視覚的に把握することができるとともに、テーマの属性種が多いほど一括変換の効率性が高くなる。それゆえ、本実施形態の属性変更手法は、文字にて表された各属性を1つずつ変更する従来の属性変更方法と比べて、格段に属性の変更を容易にすることができる。特に、オブジェクトの色や形のように視覚的にわかりやすい属性は、本実施形態の属性変更手法が適している。   In addition, since the theme is changed by selecting the theme graphic 103 having a plurality of types of attributes, it is possible to visually grasp the attributes, and the more the attribute types of the theme are, the more efficient the batch conversion is. Becomes higher. Therefore, the attribute change method according to the present embodiment can greatly facilitate the attribute change compared to the conventional attribute change method in which each attribute represented by characters is changed one by one. In particular, the attribute changing method of the present embodiment is suitable for visually easy-to-understand attributes such as the color and shape of an object.

なお、本実施形態においては、属性として色や形を例に挙げて説明したが、属性はこれに限定されることはない。例えば、外形線については、色、線幅、線種等を属性として設定することができ、内部の塗り込みについては、色だけではなく、模様や点滅の有無も属性として設定することができる。   In the present embodiment, description has been made by taking color and shape as examples of attributes, but the attributes are not limited to this. For example, for the outline, the color, line width, line type, etc. can be set as attributes, and for the internal painting, not only the color but also the presence or absence of a pattern or blinking can be set as attributes.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately changed within the scope of the claims are also included in the technical scope of the present invention.

本発明の画面作成装置は、プログラマブル表示器等に表示する画面に含まれる部品等のオブジェクトの共通する属性を一括して変換することによって、画面作成を効率的に行うことができるので、プログラマブル表示器等を含む制御システムの開発に好適に利用できる。   Since the screen creation device of the present invention can perform screen creation efficiently by collectively converting common attributes of objects such as parts included in a screen displayed on a programmable display or the like, programmable display It can be suitably used for the development of a control system including a container.

本発明の実施形態に係る制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system which concerns on embodiment of this invention. 上記制御システムにおけるプログラマブル表示器のFEPROMに格納されるプログラム構成を示す説明図である。It is explanatory drawing which shows the program structure stored in FEPROM of the programmable display in the said control system. 上記プログラマブル表示器で表示されるユーザ画面の画面データに含まれる指示処理語の基本的フォーマットを示す説明図である。It is explanatory drawing which shows the basic format of the instruction | indication processing word contained in the screen data of the user screen displayed with the said programmable display. 上記FEPROMに格納される画面ファイルの構成を示す図である。It is a figure which shows the structure of the screen file stored in the said FEPROM. 上記制御システムの作画エディタが用意しているテーマ選択ウインドウが作画ウインドウ上に重ねて表示されている状態を示す図である。It is a figure which shows the state by which the theme selection window prepared by the drawing editor of the said control system is displayed on the drawing window so that it may overlap. 上記テーマ選択ウインドウに表示されるテーマ図形を非表示とするための非表示確認ウインドウがテーマ選択ウインドウ上に重ねて表示されている状態を示す図である。It is a figure which shows the state by which the non-display confirmation window for making non-display the theme figure displayed on the said theme selection window is overlapped and displayed on the theme selection window. 上記テーマ選択ウインドウを用いて画面のオブジェクトの属性を一括変換する例を示す図である。It is a figure which shows the example which batch-converts the attribute of the object of a screen using the said theme selection window. 図7で示す属性変換の前後における属性のデータ構造を示す図である。It is a figure which shows the data structure of the attribute before and behind the attribute conversion shown in FIG. 画面のオブジェクトの属性を変換する従来例を示す図である。It is a figure which shows the prior art example which converts the attribute of the object of a screen. 図9で示す属性変換の前後における属性のデータ構造を示す図である。It is a figure which shows the data structure of the attribute before and behind the attribute conversion shown in FIG.

符号の説明Explanation of symbols

2 ホストコンピュータ(画面作成装置)
23 作画エディタ
23c 属性設定部(属性変更手段)
101 テーマ選択ウインドウ
103 テーマ図形(属性表示図形)
105 ボタンスイッチ(図形要素)
106 非表示確認ウインドウ
2 Host computer (screen creation device)
23 drawing editor 23c attribute setting part (attribute changing means)
101 Theme selection window 103 Theme figure (attribute display figure)
105 Button switch (graphic element)
106 Hidden confirmation window

Claims (7)

複数の図形要素を含む画面を作成する画面作成装置において、
前記図形要素の指定された属性を共通に設定される共通属性に変更する属性変更手段を備えていることを特徴とする画面作成装置。
In a screen creation device for creating a screen including a plurality of graphic elements,
An apparatus for creating a screen, comprising: attribute changing means for changing a specified attribute of the graphic element to a common attribute set in common.
前記属性変更手段は、前記共通属性を一覧表示するとともに、その属性の設定を予め前記共通属性に従うと定められた前記図形要素について、一覧表示された共通属性から選択された共通属性に属性を変更することを特徴とする請求項1に記載の画面作成装置。   The attribute changing means displays the common attribute in a list and changes the attribute to a common attribute selected from the displayed common attribute for the graphic element whose attribute setting is determined in advance according to the common attribute. The screen creation apparatus according to claim 1. 前記属性変更手段は、前記共通属性が外観に現れるように形成された属性表示図形を前記共通属性として一覧表示することを特徴とする請求項2に記載の画面作成装置。   The screen creation apparatus according to claim 2, wherein the attribute changing unit displays a list of attribute display graphics formed so that the common attribute appears in appearance as the common attribute. 前記共通属性は複数種の属性であることを特徴とする請求項3に記載の画面作成装置。   The screen creation apparatus according to claim 3, wherein the common attribute is a plurality of types of attributes. 前記属性変更手段は、一覧表示された前記属性表示図形から表示させない属性表示図形が選択されると、その属性表示図形を一覧表示から除外することを特徴とする請求項3に記載の画面作成装置。   4. The screen creation apparatus according to claim 3, wherein the attribute changing means excludes the attribute display graphic from the list display when an attribute display graphic that is not displayed is selected from the attribute display graphic displayed as a list. . 請求項1ないし5のいずれかに記載の画面作成装置を動作させるための画面作成プログラムであって、コンピュータを上記属性変更手段として機能させるための画面作成プログラム。   6. A screen creation program for operating the screen creation apparatus according to claim 1 for causing a computer to function as the attribute changing means. 請求項6に記載の画面作成プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the screen creation program according to claim 6 is recorded.
JP2004286622A 2004-09-30 2004-09-30 Screen forming device, screen forming program and storage medium recording the same Pending JP2006099566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004286622A JP2006099566A (en) 2004-09-30 2004-09-30 Screen forming device, screen forming program and storage medium recording the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004286622A JP2006099566A (en) 2004-09-30 2004-09-30 Screen forming device, screen forming program and storage medium recording the same

Publications (1)

Publication Number Publication Date
JP2006099566A true JP2006099566A (en) 2006-04-13

Family

ID=36239292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004286622A Pending JP2006099566A (en) 2004-09-30 2004-09-30 Screen forming device, screen forming program and storage medium recording the same

Country Status (1)

Country Link
JP (1) JP2006099566A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112010006077T5 (en) 2010-12-24 2013-10-10 Mitsubishi Electric Corporation Screen generating system for programmable display
JP2014102567A (en) * 2012-11-16 2014-06-05 Digital Electronics Corp Control system
DE102016119174A1 (en) 2015-10-16 2017-04-20 Fanuc Corporation DISPLAY CREATING DEVICE WITH A FUNCTION TO SUPPORT THE GENERATION OF AN APPLICATION INDICATOR
JPWO2016157540A1 (en) * 2015-04-03 2017-06-08 三菱電機株式会社 Object adjustment tool and object adjustment program
JP2019077446A (en) * 2017-03-06 2019-05-23 株式会社Spiral Control system for flight vehicle, and marking portion
WO2023195050A1 (en) * 2022-04-04 2023-10-12 三菱電機株式会社 Rendering assistance program, rendering assistance device, and rendering assistance method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112010006077T5 (en) 2010-12-24 2013-10-10 Mitsubishi Electric Corporation Screen generating system for programmable display
JP2014102567A (en) * 2012-11-16 2014-06-05 Digital Electronics Corp Control system
JPWO2016157540A1 (en) * 2015-04-03 2017-06-08 三菱電機株式会社 Object adjustment tool and object adjustment program
DE102016119174A1 (en) 2015-10-16 2017-04-20 Fanuc Corporation DISPLAY CREATING DEVICE WITH A FUNCTION TO SUPPORT THE GENERATION OF AN APPLICATION INDICATOR
US10496251B2 (en) 2015-10-16 2019-12-03 Fanuc Corporation Screen creation apparatus having application screen creation support function
JP2019077446A (en) * 2017-03-06 2019-05-23 株式会社Spiral Control system for flight vehicle, and marking portion
WO2023195050A1 (en) * 2022-04-04 2023-10-12 三菱電機株式会社 Rendering assistance program, rendering assistance device, and rendering assistance method

Similar Documents

Publication Publication Date Title
US7456839B2 (en) Screen creating device
US7945937B2 (en) Programmable display device
US8793668B2 (en) Protocol independent programming environment
JP2008033573A (en) Programmable display, control program, recording medium recording the same, control system, client program, and recording medium recording the same
JP5875555B2 (en) Image creation system
JP2006099566A (en) Screen forming device, screen forming program and storage medium recording the same
JP4322780B2 (en) Screen creation device, screen creation program and recording medium
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
JP2001266171A (en) Plotting device and computer-readable recording medium with plotting program recorded thereon
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP4970404B2 (en) Editor device and program
JP2006099573A (en) Screen forming device, screen forming program and storage medium recording the same
JP2007065907A (en) Screen preparation device, screen preparation program, record medium recording its program, programmable display unit, control program, and record medium recording its program
JP3712913B2 (en) Display drawing device
JP2007065910A (en) Screen preparation device, and screen preparation program, and record medium recording its program
JP4509979B2 (en) CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP4372739B2 (en) PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP4970105B2 (en) Editor device and editor program
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program
JP2006301729A (en) Picture preparation method and picture preparation device
JP2003150212A (en) Picture editor device, picture editor program and recording medium with its program recorded thereon
JP2008033575A5 (en)
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090127

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090602