JP6207694B2 - Programmable display, program - Google Patents

Programmable display, program Download PDF

Info

Publication number
JP6207694B2
JP6207694B2 JP2016164937A JP2016164937A JP6207694B2 JP 6207694 B2 JP6207694 B2 JP 6207694B2 JP 2016164937 A JP2016164937 A JP 2016164937A JP 2016164937 A JP2016164937 A JP 2016164937A JP 6207694 B2 JP6207694 B2 JP 6207694B2
Authority
JP
Japan
Prior art keywords
image
item
screen
display
data
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.)
Active
Application number
JP2016164937A
Other languages
Japanese (ja)
Other versions
JP2016212916A (en
Inventor
欣史 古山
欣史 古山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hakko Electronics Co Ltd
Original Assignee
Hakko Electronics Co Ltd
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 Hakko Electronics Co Ltd filed Critical Hakko Electronics Co Ltd
Priority to JP2016164937A priority Critical patent/JP6207694B2/en
Publication of JP2016212916A publication Critical patent/JP2016212916A/en
Application granted granted Critical
Publication of JP6207694B2 publication Critical patent/JP6207694B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、プログラマブル表示器等に関する。   The present invention relates to a programmable display and the like.

プログラマブル表示器は、一般的に、PLC本体や温調装置等の各種接続機器と接続して、これら接続機器の状態表示を行う数値表示やランプ等のアイテムや、ユーザが任意の指示を出す為のスイッチ等のアイテムの画像を表示する。尚、アイテムは、画面部品等とも呼ばれている。プログラマブル表示器の画面(操作表示画面と呼ぶものとする)には、通常、複数の画面部品(アイテム)の画像が表示される。   In general, a programmable display is connected to various connected devices such as a PLC main body and a temperature control device, and items such as numerical displays and lamps for displaying the status of these connected devices, and for users to give arbitrary instructions. Displays an image of items such as switches. An item is also called a screen component or the like. Usually, images of a plurality of screen components (items) are displayed on the screen of the programmable display (referred to as an operation display screen).

この様な操作表示画面を表示する為のデータ等(画面データ等と呼ばれる)は、予め不図示の支援装置において開発者等によって任意に作成されて、支援装置からプログラマブル表示器にダウンロードされている。   Data or the like for displaying such an operation display screen (referred to as screen data or the like) is arbitrarily created in advance by a developer or the like in a support device (not shown) and downloaded from the support device to a programmable display. .

上記画面データには、上記各アイテム毎に、そのアイテムの画像(スイッチの画像やランプの画像;あるいは画像の識別ID等)や表示位置座標、更に後述する外部メモリの所定領域のアドレス(割当メモリアドレス)等のデータが含まれている。更に何らかのプログラム等が含まれている場合もある。   The screen data includes, for each item, an image of the item (switch image, lamp image; or image identification ID, etc.), display position coordinates, and an address (assignment memory) of a predetermined area of an external memory to be described later. Address) and the like are included. In addition, some programs may be included.

上記各アイテムは、例えば、それぞれが任意の接続機器の任意の構成要素に対応して、当該構成要素の状態表示を行ったり、当該構成要素のON/OFFの指示を受け付けるものである。例えば、温調装置の温度測定値を数値表示するアイテムの場合、随時、現在の温度を数値で表示することになる。   Each of the items is for displaying the state of the component or accepting an ON / OFF instruction for the component corresponding to an arbitrary component of an arbitrary connected device, for example. For example, in the case of an item that displays the temperature measurement value of the temperature control device as a numerical value, the current temperature is displayed as a numerical value as needed.

プログラマブル表示器における上記各種アイテムに係る表示制御は、上記各アイテム毎に、例えば定期的に所定の処理を実行することで実現される。所定の処理とは、例えば、接続機器内のメモリデバイス(外部メモリとする)の上記所定領域(割当メモリアドレスの領域)の格納データを読出して、この格納データに基づいてアイテムの表示内容を決定・表示するものである。尚、接続機器は、随時、上記外部メモリの所定領域の格納データを更新している(例えば上記温調装置において上記温度測定値を随時更新している)。   Display control related to the various items in the programmable display is realized, for example, by periodically executing predetermined processing for each item. Predetermined processing refers to, for example, reading stored data in the predetermined area (area of allocated memory address) of a memory device (external memory) in the connected device and determining the display content of the item based on this stored data・ It is to be displayed. The connected device updates the stored data in a predetermined area of the external memory as needed (for example, the temperature measurement value is updated as needed in the temperature control device).

また、上記外部メモリから読出したデータを、プログラマブル表示器内のメモリデバイス(内部メモリとする)の所定領域に一時的に格納して、この格納データに基づいてアイテムの表示内容を決定・表示する構成もある。   Further, the data read from the external memory is temporarily stored in a predetermined area of a memory device (referred to as internal memory) in the programmable display, and the display contents of the item are determined and displayed based on the stored data. There is also a configuration.

この例の場合、外部メモリの格納データを読み出して内部メモリに格納する処理は、プログラマブル表示器の所定の機能部(ここでは不図示の通信部とする)が、例えば定期的に実行する。上記通信部は、例えば、上記PLC本体や温調装置等の各種接続機器と通信を行って、接続機器内の上記外部メモリの所定の記憶領域の格納データを取得して、このデータを上記内部メモリの所定領域に上書き格納する。そして、プログラマブル表示器における上記各種アイテムに係る表示制御を行う機能部(アイテム表示部というものとする)は、定期的に内部メモリにアクセスすることで、アイテム表示内容を制御する。   In the case of this example, the process of reading the data stored in the external memory and storing it in the internal memory is executed, for example, periodically by a predetermined functional unit (here, a communication unit not shown) of the programmable display. The communication unit communicates with various connected devices such as the PLC main body and the temperature control device, for example, acquires data stored in a predetermined storage area of the external memory in the connected device, and stores the data in the internal device Overwrite and store in a predetermined area of memory. And the function part (it shall be called an item display part) which performs the display control which concerns on the said various items in a programmable display controls an item display content by accessing an internal memory regularly.

ここで、プログラマブル表示器において上記表示動作を行わせる為の上記操作表示画面は、上記の通り支援装置において開発者等によって任意に作成される。但し、開発者が自由に作成できるとは限らず、例えば予めデザイナー等が作成した操作表示画面全体(スクリーン全体)のイメージ画像に基づいて、少なくとも見た目はこのイメージ画像に近くなるように上記操作表示画面を作成する場合も少なくない。   Here, the operation display screen for causing the display operation to be performed on the programmable display is arbitrarily created by the developer or the like in the support device as described above. However, it is not always possible for the developer to create freely. For example, based on the image image of the entire operation display screen (entire screen) created in advance by a designer or the like, the above operation display is made so that at least the appearance is close to this image image. There are many cases where screens are created.

上記支援装置には、予め各種アイテムの画像が記憶されている。これは、例えば各アイテム種別(スイッチ、ランプ、メータ等)毎に様々なデザインのアイテム画像が、予め作成されて支援装置の記憶部に記憶されている。   In the support device, images of various items are stored in advance. For example, item images of various designs are created in advance for each item type (switch, lamp, meter, etc.) and stored in the storage unit of the support apparatus.

上記アイテム画像は、例えば上記スイッチに関して、色や形や表現(例えば木目調やメタリック調等)等が各々異なる様々なデザインのスイッチの画像が、予め作成されて登録されている。更に、各デザイン毎に、それぞれ、複数種類のスイッチ画像(例えばON用とOFF用;スイッチON画像とスイッチOFF画像)が、予め作成されて登録されている。   As for the item image, for example, with respect to the switch, images of switches having various designs with different colors, shapes, expressions (for example, woodgrain, metallic tone, etc.) are created and registered in advance. Further, for each design, a plurality of types of switch images (for example, for ON and OFF; switch ON image and switch OFF image) are created and registered in advance.

同様に、ランプに関しても、色や形や表現等が各々異なる様々なデザインのランプの画像が、予め作成されて登録されている。更に、各デザイン毎に、それぞれ、複数種類のランプ画像(例えばON用とOFF用;ランプON画像とランプOFF画像)が、予め作成されて登録されている。   Similarly, lamp images of various designs with different colors, shapes, expressions, etc. are created and registered in advance. Further, for each design, a plurality of types of lamp images (for example, for ON and OFF; lamp ON image and lamp OFF image) are created and registered in advance.

開発者等は、任意アイテムに係る上記アイテム画像を画面上の所望の位置に配置する。例えば、開発者等は、所望のデザインのスイッチ画像を、画面上の所望の位置に配置する。尚、これは通常、そのデザインの上記複数種類の画像(例えばON用とOFF用)全てが、同じ位置に配置されたものとして登録される。例えば、開発者等が所望のデザインのスイッチON画像を所望の位置に配置すると、同じデザインのスイッチOFF画像も同じ位置に配置されたものとして登録される(開発者はスイッチOFF画像を配置する操作を行う必要はない)。勿論、その為に、例えば同じデザインの複数種類のスイッチ画像が例えばグループ化されて登録されている。同様に、開発者等は、所望のデザインのランプ画像を所望の位置に配置する。但し、“所望の”とは、開発者が自由に決めてよい例に限らず、上記のように、スクリーン全体のイメージ画像に応じたものである場合もある。   A developer or the like arranges the item image related to an arbitrary item at a desired position on the screen. For example, a developer arranges a switch image of a desired design at a desired position on the screen. In general, all the above-mentioned plural types of images (for example, for ON and OFF) of the design are registered as being arranged at the same position. For example, when a developer or the like places a switch-on image with a desired design at a desired position, the switch-off image with the same design is also registered as being placed at the same position (the developer performs an operation to place the switch-off image. Do not need to do). Of course, for this purpose, for example, a plurality of types of switch images having the same design are registered in groups, for example. Similarly, a developer or the like places a lamp image of a desired design at a desired position. However, the “desired” is not limited to an example that the developer may freely decide, but may be one corresponding to the image of the entire screen as described above.

また、上記画像の選択・配置を行うだけでなく、配置した各アイテム毎に、上記割当メモリアドレスを設定する作業も行われる。
また、例えば、特許文献1に記載の従来技術が知られている。
In addition to selecting / arranging the image, an operation for setting the allocated memory address is performed for each arranged item.
Further, for example, the prior art described in Patent Document 1 is known.

特許文献1の従来技術では、プログラマブル表示器のHMI処理部が、オフラインモード時に、予め定められた操作を受け付けた場合、当該操作に応じて、オフラインモードで表示可能な設定画面の色調および/またはデザインを一括して変更する。また、HMI処理部は、オフラインモードにおいて、表示可能な設定項目のうち、予め定められた設定項目について、表示するか否かの入力を促す画面を表示すると共に、当該画面への操作に応じて、当該設定項目を表示するか否かを変更する。
特開2006−134095号公報
In the prior art of Patent Document 1, when the HMI processing unit of the programmable display device accepts a predetermined operation in the offline mode, the color tone of the setting screen that can be displayed in the offline mode and / or according to the operation. Change the design all at once. Further, the HMI processing unit displays a screen that prompts an input as to whether or not to display a predetermined setting item among the displayable setting items in the offline mode, and in response to an operation on the screen. , Whether to display the setting item.
JP 2006-134095 A

上記のように、従来技術では、上記操作表示画面(プログラマブル表示器用画面)の作成は、支援装置において開発者等が逐一、アイテム画像の選択や配置等を行っていた。ここで、特に上記スクリーン全体のイメージ画像がある場合には、これを有効利用して、操作表示画面の作成作業効率を向上させることが望まれる。   As described above, in the prior art, the creation of the operation display screen (programmable display screen) is performed by a developer or the like selecting and arranging item images one by one in the support device. Here, particularly when there is an image of the entire screen, it is desired to improve the efficiency of creating the operation display screen by effectively using the image.

更に、既に任意の操作表示画面の作成された状態で(特に既にプログラマブル表示器側で運用されている状態で)、その各アイテムの種類や配置位置等を変更することなく画像(デザイン)のみを変更したい場合がある。この様な場合の変更作業を容易に行えるようにすることが望まれる。   Furthermore, with any operation display screen already created (especially in the state already operated on the programmable display side), only the image (design) can be displayed without changing the type or arrangement position of each item. You may want to change it. It is desirable to be able to easily perform the changing work in such a case.

本発明の課題は、プログラマブル表示器用画面の作成作業やデザイン変更作業を容易に行えるようにできるプログラマブル表示器等を提供することである。
本発明のプログラマブル表示器は、プログラマブル表示器と支援装置を有するプログラマブルコントローラシステムにおける該プログラマブル表示器であって、前記支援装置においてスクリーン全体画像に基づいて作成された画面データと、該スクリーン全体画像を記憶する画面データ等記憶手段と、各アイテム毎に、前記画面データの指定領域情報に基づいて、前記スクリーン全体画像から該指定領域部分を切り出してパーツ画像を生成するパーツ画像生成手段と、該生成されるパーツ画像を用いてそのアイテムに係る表示を行うアイテム表示手段とを有する。
The subject of this invention is providing the programmable display etc. which can perform the creation operation and design change operation of the screen for programmable displays easily.
The programmable display of the present invention is the programmable display in a programmable controller system having a programmable display and a support device, and the screen data created based on the entire screen image in the support device and the entire screen image are displayed. Screen data storage means for storing, part image generating means for generating a part image by cutting out the specified area portion from the entire screen image based on the specified area information of the screen data for each item, and the generation Item display means for performing display related to the item using the part image to be displayed.

本例のプログラマブル表示器を含むシステム全体の概略構成図である。It is a schematic block diagram of the whole system containing the programmable display of this example. 本例のプログラマブル表示器の構成例である。It is a structural example of the programmable display of this example. 本システムのソフトウェア構成を示す図である。It is a figure which shows the software structure of this system. 作画エディタ装置における操作表示画面の作成支援用の画面例(1/2)である。It is a screen example (1/2) for the creation support of the operation display screen in a drawing editor apparatus. (a)、(b)は、作画エディタ装置における操作表示画面の作成支援用の画面例(2/2)である。(A), (b) is a screen example (2/2) for supporting creation of an operation display screen in the drawing editor apparatus. プログラマブル表示器の操作表示画面の表示例等である。It is the example of a display of the operation display screen of a programmable display. 本例のプログラマブル表示器の処理機能図である。It is a processing function figure of the programmable display of this example. アイテムリストのデータ構造例である。It is an example of the data structure of an item list. アイテムリストの具体例であり、(a)は実施例1の例、(b)は実施例2等の例である。It is a specific example of an item list, (a) is an example of Example 1, (b) is an example of Example 2, etc. (a)〜(c)は、各種データ例である。(A) to (c) are various data examples. 通信処理部の処理フローチャート図である。It is a process flowchart figure of a communication process part. アイテム処理部の処理フローチャート図(1/2)である。It is a process flowchart figure (1/2) of an item process part. アイテム処理部の処理フローチャート図(2/2)である。It is a process flowchart figure (2/2) of an item process part. 実施例1のプログラマブル表示器と支援装置の機能ブロック図である。It is a functional block diagram of the programmable display and support device of Example 1. 実施例2のプログラマブル表示器と支援装置の機能ブロック図である。It is a functional block diagram of the programmable display and support device of Example 2. 各スクリーン全体画像からのパーツ画像切り出しのイメージを示す図である。It is a figure which shows the image of part image cut-out from each screen whole image.

以下、図面を参照して本発明の実施の形態について説明する。
図1は、本例のプログラマブル表示器を含むシステム全体の概略構成図である。
図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5(支援装置)に接続された構成であってもよい。プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram of the entire system including the programmable display of this example.
The programmable controller system shown in FIG. 1 includes various connection devices 4 and a programmable display 1 that is connected to the various connection devices 4 via a communication line 6. Furthermore, the structure by which the programmable display 1 was connected to the drawing editor apparatus 5 (support apparatus) via the communication line 3 may be sufficient. The programmable display 1 is provided with a plurality of communication interfaces 2 (communication ports), and is connected to various connection devices 4 and the drawing editor device 5 by the communication line 3 / communication line 6 connected to each communication interface 2. ing.

但し、作画エディタ装置5は、必ずしもプログラマブル表示器1に接続されている必要があるわけではない(一例を示しているに過ぎない)。つまり、例えば、作画エディタ装置5で作成される画面データや、後述するスクリーン全体画像は、一例としては作画エディタ装置5から通信ライン3を介してプログラマブル表示器1にダウンロードされるが、この例に限らない。例えば、不図示の可搬型記録媒体(メモリカード等)を介して、作画エディタ装置5の上記画面データやスクリーン全体画像を、プログラマブル表示器1に渡すようにしてもよい。   However, the drawing editor device 5 does not necessarily need to be connected to the programmable display device 1 (only an example is shown). That is, for example, screen data created by the drawing editor device 5 and an entire screen image to be described later are downloaded from the drawing editor device 5 to the programmable display device 1 via the communication line 3 as an example. Not exclusively. For example, the screen data and the entire screen image of the drawing editor device 5 may be transferred to the programmable display device 1 via a portable recording medium (not shown) such as a memory card.

尚、以下の説明では、作画エディタ装置5を支援装置5と記す場合もあるものとする。
図2は、本例のプログラマブル表示器1の構成例である。
本例のプログラマブル表示器1に関しては、例えば、上述した従来例と略同様の動作を行う例がある。すなわち、画面データ等(但し、後述するパーツ画像(上記各アイテム画像に相当するもの)を用いる)に基づく操作表示画面の表示を行う例がある(後述する実施例2)。
In the following description, the drawing editor device 5 may be referred to as the support device 5.
FIG. 2 is a configuration example of the programmable display 1 of this example.
With respect to the programmable display device 1 of this example, there is an example in which operation similar to that of the conventional example described above is performed. That is, there is an example in which an operation display screen is displayed based on screen data or the like (however, a part image (which corresponds to each item image described above) described later is used) (second embodiment described later).

あるいは、本例のプログラマブル表示器1に関しては、スクリーン全体画像からパーツ画像(上記各アイテム画像に相当するもの)を抽出して、このパーツ画像を所定の位置に表示する例もある(後述する実施例1)。詳しくは後述する。   Alternatively, with respect to the programmable display 1 of the present example, there is an example in which a part image (corresponding to each item image) is extracted from the entire screen image and this part image is displayed at a predetermined position (implementation described later). Example 1). Details will be described later.

図示のプログラマブル表示器1は、表示操作制御装置10と、タッチパネル18、ディスプレイ19、上記通信インタフェース2等を有する。
表示操作制御装置10は、CPU11、ROM12(フラッシュメモリ等)、RAM13、通信コントローラ14、グラフィックコントローラ15、タッチパネルコントローラ16等より成り、これらがバス17に接続されている。
The illustrated programmable display 1 includes a display operation control device 10, a touch panel 18, a display 19, the communication interface 2, and the like.
The display operation control device 10 includes a CPU 11, a ROM 12 (flash memory or the like), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, and the like, which are connected to a bus 17.

CPU11は、表示操作制御装置10全体を制御する中央処理装置(演算プロセッサ)である。CPU11は、ROM12に予め格納されているプログラム(例えば後述する本体プログラム21等)を実行することで、所定の演算動作(処理)を行う。例えば後述する本例のプログラマブル表示器1の各種処理を実行する。各種の演算結果は、例えばRAM13に格納される。   The CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10. The CPU 11 performs a predetermined calculation operation (processing) by executing a program (for example, a main body program 21 described later) stored in the ROM 12 in advance. For example, various processes of the programmable display 1 of this example described later are executed. Various calculation results are stored in, for example, the RAM 13.

また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、画面データは、例えば上述したスイッチ、ランプ等の各アイテム毎に、その表示位置座標や大きさ等の表示に係わるデータや、上記割当メモリアドレス(割当メモリ領域)等のメモリアクセスに係わるデータ等を有する。但し、従来の画面データには、各アイテム画像(あるいはアイテム画像の識別ID等)が含まれていたが、本例の実施例1の場合、アイテム画像の代わりに、スクリーン全体画像(あるいはその識別ID等)等が含まれている。   The ROM 12 stores screen data (screen data 22 to be described later) described in the background art. As described above, the screen data includes, for example, data relating to display such as the display position coordinates and size for each item such as the above-described switch and lamp, and memory access such as the allocated memory address (allocated memory area). Data related to However, the conventional screen data includes each item image (or the identification ID of the item image). In the first embodiment of this example, instead of the item image, the entire screen image (or its identification) ID etc.) are included.

上記CPU11の処理には、例えば上記背景技術で説明した“各アイテム毎の割当メモリアドレス等の格納データ”(上記外部メモリの所定領域の格納データ)を取得する処理等が含まれる。この取得データは、例えば後述する共有メモリ55に一時的に格納される。尚、共有メモリ55は、上記RAM13やROM12の記憶領域の一部であってもよいし、不図示の他のメモリであってもよい。   The processing of the CPU 11 includes, for example, processing for obtaining “storage data such as an allocated memory address for each item” (storage data in a predetermined area of the external memory) described in the background art. This acquired data is temporarily stored, for example, in the shared memory 55 described later. The shared memory 55 may be a part of the storage area of the RAM 13 or the ROM 12, or may be another memory (not shown).

また、上記CPU11の処理によって、例えば上記画面データや上記取得データ等に基づく表示対象データが、例えばRAM13(あるいは不図示のビデオRAM)上に展開(描画)される。この描画に基づいてグラフィックコントローラ15が、ディスプレイ19上に上述した操作表示画面等を表示する。   Further, display target data based on the screen data, the acquired data, and the like are developed (drawn) on, for example, the RAM 13 (or a video RAM (not shown)) by the processing of the CPU 11. Based on this drawing, the graphic controller 15 displays the above-described operation display screen on the display 19.

ここで、従来の場合には、上記のようにアイテム画像は、各デザイン毎に例えば少なくともON用とOFF用の2種類の画像が予め作成されて登録されている。例えばランプを例にすると、アイテム画像は、各デザイン毎にランプ消灯画像とランプ点灯画像とが登録されている。そして、プログラマブル表示器1側では、例えば上記取得データが‘0’であればランプ消灯画像、‘1’であればランプ点灯画像が、上記表示対象データとなる(描画される)。   In the conventional case, as described above, at least two types of images for ON and OFF, for example, are created and registered in advance for each design as described above. For example, taking a lamp as an example, as an item image, a lamp-off image and a lamp-on image are registered for each design. On the programmable display 1 side, for example, if the acquired data is “0”, the lamp extinguished image becomes the display target data (drawn).

これに対して、実施例1の場合、例えば、ON用のスクリーン全体画像と、OFF用のスクリーン全体画像とが予め登録されている。そして、例えば上記取得データが‘0’であれば、OFF用のスクリーン全体画像から上記ランプ消灯画像に相当するパーツ画像を切り出して描画する。同様に、例えば上記取得データが‘1’であれば、ON用のスクリーン全体画像から上記ランプ点灯画像に相当するパーツ画像を切り出して描画する。   On the other hand, in the case of the first embodiment, for example, an entire screen image for ON and an entire screen image for OFF are registered in advance. For example, if the acquired data is “0”, a part image corresponding to the lamp extinguished image is cut out from the entire screen image for OFF and drawn. Similarly, for example, if the acquired data is “1”, a part image corresponding to the lamp lighting image is cut out from the entire screen image for ON and drawn.

また、実施例2の場合、支援装置(作画エディタ装置5)側で予め任意のデザインの各種スクリーン全体画像(例えばON用とOFF用)から各種パーツ画像(従来のアイテム画像に相当する画像)を切り出して、これら各種パーツ画像を例えば画面データに含めてプログラマブル表示器1にダウンロードする。プログラマブル表示器1側の処理動作は従来と略同様であって構わない(アイテム画像の代わりにパーツ画像を用いる)。詳しくは後述する。   Further, in the case of the second embodiment, various images of parts (images corresponding to conventional item images) from various screen whole images (for example, for ON and OFF) of an arbitrary design in advance on the support device (drawing editor device 5) side. The various parts images are included in the screen data and downloaded to the programmable display 1. The processing operation on the programmable display 1 side may be substantially the same as the conventional one (a part image is used instead of the item image). Details will be described later.

尚、従来より、上記取得データに基づいて(例えば接続機器4側の)現在の状態を判別できる。つまり、従来、実施例1、実施例2の何れの場合も、随時、現在の状態を判別して、現在の状態に応じた画像表示を行う点では略同様である(例えば、ランプに関して、現在の状態がON状態であれば、上記ランプ点灯画像あるいは“ランプ点灯画像に相当するパーツ画像”を表示する)。   Conventionally, the current state (for example, on the connected device 4 side) can be determined based on the acquired data. In other words, the conventional cases of the first embodiment and the second embodiment are substantially the same in that the current state is determined at any time and the image is displayed according to the current state (for example, regarding the lamp, If the state is ON, the lamp lighting image or “part image corresponding to the lamp lighting image” is displayed).

上記のように、本手法の実施例1と実施例2との違いは、上記スクリーン全体画像からのパーツ画像の切り出し処理(従来のアイテム画像に相当する画像の生成処理)を、プログラマブル表示器1で随時または定期的に現在の状態に応じて行うか、支援装置(作画エディタ装置5)で事前に行っているかである。何れにしても、スクリーン全体画像を有効利用して、容易に操作表示画面の生成や操作表示画面のデザイン変更等を行えるようになる。詳しくは後述する。   As described above, the difference between the first embodiment and the second embodiment of the present technique is that the part image cut-out process (the image generation process corresponding to the conventional item image) from the entire screen image is performed by the programmable display 1. Or at any time or periodically depending on the current state, or in advance by the support device (drawing editor device 5). In any case, it is possible to easily generate the operation display screen, change the design of the operation display screen, and the like by effectively using the entire screen image. Details will be described later.

ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。従来では、ディスプレイ19上には、基本的には、複数のアイテム画像が所定位置に配置されて成る操作表示画面が表示される。本例の場合には、ディスプレイ19上には、基本的には、複数のパーツ画像が所定位置に配置されて成る操作表示画面が表示される。   The display 19 is composed of, for example, a liquid crystal panel, and a touch panel 18 is provided so as to overlap the liquid crystal panel. Conventionally, an operation display screen in which a plurality of item images are arranged at predetermined positions is basically displayed on the display 19. In the case of this example, basically, an operation display screen in which a plurality of part images are arranged at predetermined positions is displayed on the display 19.

また、通信コントローラ14は、通信インタフェース2を介して、不図示のPLC本体等や温調装置等である接続機器4や作画エディタ装置5との通信(データ送受信等)を行う。   Further, the communication controller 14 performs communication (data transmission / reception and the like) with the connection device 4 and the drawing editor device 5 such as a PLC main body (not shown), a temperature control device, and the like via the communication interface 2.

オペレータ等によるタッチパネル18上での押圧操作(タッチ)位置の検知結果は、タッチパネルコントローラ16を介してCPU11等に取り込まれて解析される。例えば各アイテムの上記表示位置座標や大きさのデータ等に基づいて、解析することになる。例えば、上記スイッチの画像の表示位置をオペレータ等がタッチすると、CPU11等は、このスイッチに対する操作が行われたものと解析することになる。   The detection result of the pressing operation (touch) position on the touch panel 18 by an operator or the like is taken into the CPU 11 or the like via the touch panel controller 16 and analyzed. For example, analysis is performed based on the display position coordinates and size data of each item. For example, when an operator or the like touches the display position of the image of the switch, the CPU 11 or the like analyzes that an operation on the switch has been performed.

図3に、上記本システムのソフトウェア構成図を示す。
プログラマブル表示器1においては、本体プログラム21、画面データ22、通信プログラム23等の各種プログラム/データが、例えば上記ROM12(フラッシュメモリ等)に格納されている。これらのプログラム/データ等をCPU11が読出し・実行/参照等することで、プログラマブル表示器用の上記操作表示画面等の表示制御等が行なわれる。
FIG. 3 shows a software configuration diagram of the system.
In the programmable display 1, various programs / data such as a main body program 21, screen data 22, and communication program 23 are stored in, for example, the ROM 12 (flash memory or the like). The CPU 11 reads / executes / references these programs / data, etc., thereby performing display control of the operation display screen for the programmable display.

この操作表示画面は、従来では、上述した数値表示、ランプ、スイッチ等の各種アイテムの画像表示から成り、各アイテム画像の表示内容は、例えば各接続機器4(外部メモリ;割当メモリ領域)から取得したデータ(上記取得データ)を反映させる形で随時更新される。一方、本例の場合、操作表示画面は、上記アイテム画像の代わりに“アイテム画像に相当する上記パーツ画像”を用いて、表示制御されることになる。   Conventionally, this operation display screen is composed of the above-described numerical display, image display of various items such as lamps, switches, and the like, and the display contents of each item image are obtained from, for example, each connected device 4 (external memory; allocated memory area). It is updated from time to time to reflect the data (acquired data). On the other hand, in the case of this example, the operation display screen is display-controlled using “the part image corresponding to the item image” instead of the item image.

基本的には、CPU11が本体プログラム21と画面データ22(パーツ画像あるいはスクリーン全体画像を含む)とに基づく処理を行うことで、上記操作表示画面が表示される。そして、この操作表示画面上の各画面部品の表示内容(温度等の数値表示やランプの点灯/消灯など)は、通信プログラム23による各接続機器4との通信結果(上記取得データ等)等に基づいて、随時、更新等されるものである。   Basically, the operation display screen is displayed by the CPU 11 performing processing based on the main body program 21 and the screen data 22 (including the part image or the entire screen image). The display contents of each screen component on this operation display screen (numerical display such as temperature, lighting / extinguishing of lamp, etc.) are shown in the communication result with each connected device 4 by the communication program 23 (the acquired data etc.). Based on this, it is updated as needed.

上記画面データ22は、例えば予め作画エディタ装置5側で任意に作成された画面データファイル32の一部または全部が、プログラマブル表示器1にダウンロードされて格納されたものである。尚、画面データファイル32と画面データ22とを特に区別せずに、画面データまたは画面データ22と呼ぶ場合もあるものとする。   The screen data 22 is obtained by, for example, downloading a part or all of the screen data file 32 arbitrarily created in advance on the drawing editor device 5 side to the programmable display 1 and storing it. Note that the screen data file 32 and the screen data 22 may be referred to as screen data or screen data 22 without particularly distinguishing them.

尚、従来では画面データには各種アイテム画像が含まれたが、本例の画面データ22には各種パーツ画像あるいは各種スクリーン全体画像が含まれる。但し、この例に限らず、各種パーツ画像あるいは各種スクリーン全体画像は、画面データ22とは別にして記憶等されるものであってもよい。   Conventionally, the screen data includes various item images, but the screen data 22 of the present example includes various parts images or various entire screen images. However, the present invention is not limited to this example, and various part images or various whole screen images may be stored separately from the screen data 22.

また、上記通信プログラム23も、例えば予め作画エディタ装置5側に格納されていた通信プログラムファイル33(その一部)が、プログラマブル表示器1にダウンロードされて格納されたものである。   Also, the communication program 23 is a program in which, for example, a communication program file 33 (part thereof) stored in advance on the drawing editor device 5 side is downloaded and stored in the programmable display device 1.

上述したように、基本的には、CPU11が、本体プログラム21と画面データ22と取得データ等に基づく上記操作表示画面の表示制御を行う。例えば、数値表示やランプ等のアイテムに関して、定期的に、そのアイテムの割当メモリ領域からデータを読み出して、そのアイテムの表示内容を当該読出データに基づいて更新する。あるいは、例えばスイッチ等のアイテムに関しては、ユーザが、この操作表示画面上の所望のスイッチをタッチすると(ON/OFF操作すると)、スイッチON画像表示/スイッチOFF画像表示が行われる。また、CPU11は、このスイッチ操作に応じた接続機器4の制御も行う。   As described above, basically, the CPU 11 performs display control of the operation display screen based on the main body program 21, the screen data 22, and the acquired data. For example, regarding an item such as a numerical display or a lamp, data is periodically read from the allocated memory area of the item, and the display content of the item is updated based on the read data. Alternatively, for example, regarding an item such as a switch, when a user touches a desired switch on the operation display screen (when an ON / OFF operation is performed), switch ON image display / switch OFF image display is performed. The CPU 11 also controls the connection device 4 according to the switch operation.

ここで、本手法の場合、上記スイッチON画像やスイッチOFF画像等は、スクリーン全体画像から生成される上記パーツ画像となる。このパーツ画像は、実施例1ではプログラマブル表示器1側で随時または定期的に現在の状態に応じて生成される。一方、実施例2では、支援装置5側で予め例えば任意のデザインに応じた全てのパーツ画像が生成されるものである。但し、この例に限らず、プログラマブル表示器1側で予め例えば任意のデザインに応じた全てのパーツ画像が生成されるものであっても構わない。何れにしても、パーツ画像はスクリーン全体画像から生成されるものである。   Here, in the case of this method, the switch ON image, the switch OFF image, and the like are the part images generated from the entire screen image. In the first embodiment, this part image is generated according to the current state at any time or periodically on the programmable display 1 side. On the other hand, in the second embodiment, all the part images corresponding to, for example, an arbitrary design are generated in advance on the support device 5 side. However, the present invention is not limited to this example, and all part images corresponding to, for example, an arbitrary design may be generated in advance on the programmable display 1 side. In any case, the part image is generated from the entire screen image.

スクリーン全体画像から各種パーツ画像が生成されることで、操作表示画面のデザインを全面変更したい場合等には(但し、基本的に、配置や機能等は変更しないものとする)、スクリーン全体画像のデザインを変更すれば済むようになり、変更作業負担が軽減される。   When various parts images are generated from the entire screen image, and when it is desired to change the design of the operation display screen entirely (however, basically, the arrangement and functions are not changed), the entire screen image The design can be changed and the burden of changing work is reduced.

尚、上記割当メモリ領域は、上記背景技術における外部メモリの所定の記憶領域(割当メモリアドレス)に相当するものである。尚、後述する共有メモリ55は、上記内部メモリに相当するものである。   The allocated memory area corresponds to a predetermined storage area (allocated memory address) of the external memory in the background art. Note that a shared memory 55 described later corresponds to the internal memory.

尚、既に従来で述べたように、上記外部メモリは、接続機器4が備えるメモリであって、各アイテムのメモリ割当が行われるものである。上記のように、各アイテムの表示内容は、この割当メモリ領域の格納データに基づいて決定・更新される。   As already described in the related art, the external memory is a memory provided in the connection device 4, and the memory allocation of each item is performed. As described above, the display content of each item is determined and updated based on the stored data in the allocated memory area.

そして、従来で述べたように、この割当メモリ領域からの読出しデータを、プログラマブル表示器1内の上記内部メモリ(共有メモリ55)に一時的に格納し、これに基づいてアイテム表示制御を行う構成例がある。   As described above, the read data from the allocated memory area is temporarily stored in the internal memory (shared memory 55) in the programmable display 1, and the item display control is performed based on the stored data. There is an example.

すなわち、例えば後述する各通信処理部54等によって定期的に、接続機器4内のメモリデバイス(外部メモリ)の所定の記憶領域からデータを読み出して、この読出データを上記内部メモリに格納する処理が行われる。そして、例えば後述するアイテム処理部53によって、内部メモリのデータ等に基づいて、上記操作表示画面の表示制御が行われることになる。これによって、操作表示画面の表示内容は、各アイテムに対応する割当メモリ領域の現在の格納データの内容を反映させたものとなる(現在の状態に応じたものとなる)。   That is, for example, a process of periodically reading data from a predetermined storage area of a memory device (external memory) in the connection device 4 and storing the read data in the internal memory by each communication processing unit 54 or the like described later. Done. Then, for example, the item processing unit 53 described later performs display control of the operation display screen based on the data in the internal memory. As a result, the display content of the operation display screen reflects the content of the current stored data in the allocated memory area corresponding to each item (according to the current state).

また、支援装置5(その作画エディタ31)は、スクリーン全体画像記憶部31a、画面作成支援部31b等を有する。スクリーン全体画像記憶部31aには、予め、各種スクリーン全体画像が記憶されている。スクリーン全体画像自体は、従来でもデザイナー等が全体イメージを示す等の為に作成する場合もあった。スクリーン全体画像記憶部31aに記憶されている各種デザインのスクリーン全体画像が、後述する画像表示選択領域41に一覧表示されることになる。   The support device 5 (its drawing editor 31) includes an entire screen image storage unit 31a, a screen creation support unit 31b, and the like. In the entire screen image storage unit 31a, various entire screen images are stored in advance. Conventionally, the entire screen image itself has been created by a designer or the like for showing the entire image. The entire screen images of various designs stored in the entire screen image storage unit 31a are displayed in a list in the image display selection area 41 described later.

また、画面作成支援部31bは、上記スクリーン全体画像を用いて、ユーザに所望の操作表示画面(画面データ)を作成させる。これは、例えば後述する図4、図5で説明するユーザ支援処理を行うものであり、詳しくは後述する。   The screen creation support unit 31b causes the user to create a desired operation display screen (screen data) using the entire screen image. This is, for example, a user support process described later with reference to FIGS. 4 and 5 and will be described in detail later.

尚、作画エディタ装置5は、例えばパソコン等であり、特に図示しないが一般的な汎用コンピュータの構成(CPU、記憶部(ハードディスク、メモリ等)、通信部、操作部(マウス等)、ディスプレイ)を有している。記憶部に予め記憶されているアプリケーションプログラムを、CPUが実行することにより、例えば画面作成支援部31bの処理機能が実現される。   Note that the drawing editor device 5 is, for example, a personal computer or the like, and has a general-purpose computer configuration (CPU, storage unit (hard disk, memory, etc.), communication unit, operation unit (mouse, etc.), display) although not particularly shown. Have. When the CPU executes an application program stored in advance in the storage unit, for example, the processing function of the screen creation support unit 31b is realized.

図4、図5に、本例の支援装置5におけるプログラマブル表示器用画面(操作表示画面;その画面データ)作成支援用の画面例を示す。この画面例自体は、実施例1、実施例2共通であってよい。但し、実施例2の場合、この画面例での画面データ作成作業に伴って、支援装置5側でスクリーン全体画像から各種パーツ画像を切り出す処理(パーツ画像生成処理)を行うことになる。尚、実施例1の場合、プログラマブル表示器1側でパーツ画像を生成することになる。   FIG. 4 and FIG. 5 show examples of screens for supporting creation of a programmable display screen (operation display screen; screen data) in the support device 5 of this example. This screen example itself may be common to the first and second embodiments. However, in the case of the second embodiment, along with the screen data creation work in this screen example, processing (part image generation processing) for cutting out various part images from the entire screen image is performed on the support device 5 side. In the case of Example 1, a part image is generated on the programmable display 1 side.

また、図6には、実施例1におけるプログラマブル表示器の操作表示画面例を示す。
以下、図4、図5、図6を参照して説明する。尚、本説明では、アイテム画像としてスイッチとランプを例にするが、勿論、この例に限らない(よく知られているように他にもグラフ、メータ、数値表示等の各種アイテム画像が知られている)。そして、本例では、従来のアイテム画像に相当するパーツ画像が生成され、パーツ画像を用いて操作表示画面の表示制御が行われることになる。
Moreover, in FIG. 6, the example of the operation display screen of the programmable display in Example 1 is shown.
Hereinafter, a description will be given with reference to FIGS. 4, 5, and 6. In this description, switches and lamps are used as item images. However, the present invention is not limited to this example (as is well known, various item images such as graphs, meters, and numerical displays are also known. ing). In this example, a part image corresponding to a conventional item image is generated, and display control of the operation display screen is performed using the part image.

以下、まず、図4、図5を参照して説明する。
図4は、支援装置における画面データ作成支援のメイン画面である。
図示のメイン画面40は、画像表示選択領域41と画面作成領域42から成る。
Hereinafter, description will be given first with reference to FIGS.
FIG. 4 is a main screen for screen data creation support in the support apparatus.
The illustrated main screen 40 includes an image display selection area 41 and a screen creation area 42.

尚、従来でも、これら各領域に相当するものは存在した(不図示の従来画像表示選択領域、従来画面作成領域と呼ぶものとする)。従来では、従来画像表示選択領域には各種アイテム画像が一覧表示される。例えばスイッチに関して各種デザイン毎のスイッチ画像(一例としては、各デザイン毎に、ON用とOFF用の画像がある)、ランプに関しても各種デザイン毎のランプ画像(一例としては、各デザイン毎に、ON用とOFF用の画像がある)が、従来画像表示選択領域に一覧表示される。勿論、これら各種アイテム画像は、予め作成されて従来の支援装置の不図示の記憶部(ハードディスク/メモリ等)に記憶されている。   Conventionally, there are those corresponding to these areas (referred to as a conventional image display selection area and a conventional screen creation area not shown). Conventionally, various item images are displayed in a list in the conventional image display selection area. For example, switch images for various designs for switches (for example, there are ON and OFF images for each design), and lamp images for various designs (for example, ON for each design) Are displayed in a list in the conventional image display selection area. Of course, these various item images are created in advance and stored in a storage unit (hard disk / memory, etc.) (not shown) of the conventional support apparatus.

これより、従来では、ユーザはマウス等を操作して、一覧表示される各種アイテム画像の中から所望のアイテム画像を選択(ドラッグ)して、これを従来画面作成領域上の所望の位置に配置(ドロップ)する。そして、このアイテムに関して例えば上記割当メモリアドレス等を設定する。このような作業によって、任意のアイテムに関して、アイテム画像、画面上での配置位置、割当メモリアドレス等が設定されて、画面データに登録されることになる。ユーザがこの様な作業を繰り返すことで、通常は複数のアイテムによる上記操作表示画面(画面データ)が作成されることになる。   Thus, conventionally, the user operates the mouse or the like to select (drag) a desired item image from various item images displayed in a list, and arrange this at a desired position on the conventional screen creation area. (Drop). For example, the allocated memory address is set for this item. With such an operation, an item image, an arrangement position on the screen, an allocated memory address, etc. are set and registered in the screen data for an arbitrary item. When the user repeats such an operation, the operation display screen (screen data) with a plurality of items is usually created.

これに対して、本例の場合、上記各種アイテム画像の代わりに各種スクリーン全体画像が予め登録されている。これは、各デザイン毎に、ON用スクリーン全体画像と、OFF用スクリーン全体画像とが予め登録されている。そして、登録されているスクリーン全体画像が、画像表示選択領域41に一覧表示される。尚、図4では、1つのデザインに関するON用スクリーン全体画像43とOFF用スクリーン全体画像44を示すが、通常は、複数のデザインについてスクリーン全体画像が登録されることになる。   On the other hand, in the case of this example, various screen whole images are registered in advance instead of the various item images. For this, for each design, an entire screen for ON and an entire screen for OFF are registered in advance. Then, the registered entire screen image is displayed in a list in the image display selection area 41. FIG. 4 shows the entire screen image 43 for ON and the entire screen image 44 for OFF related to one design. Normally, the entire screen image is registered for a plurality of designs.

勿論、その為に、予め各デザイン毎にスクリーン全体画像(例えばON用とOFF用)を作成する作業が必要となり、新たなデザインを追加する場合にはそのデザイン用のスクリーン全体画像を新たに作成する作業も必要となる。しかしながら、従来でも、デザイナー等が事前にスクリーン全体画像を作成している場合が少なくなく、本手法ではこれを有効利用することができるという効果も得られる。更に、この様な場合、基本的に、デザイナー等が作成した全体画像と略同一となるように操作表示画面を作成することになるので、本手法では逐一各アイテム画像の配置位置を確認して配置する等の作業が不要となるという効果も得られる。つまり、操作表示画面の作成作業負担を軽減できる。更に、デザイン変更する場合(但し、変更するのは基本的にデザインのみであり、位置等は変更しない)の変更作業負担を軽減できる。   Of course, for this purpose, it is necessary to create an entire screen image (for example, for ON and OFF) in advance for each design, and when adding a new design, a new entire screen image for that design is created. The work to do is also necessary. However, even in the past, there are not a few cases where a designer or the like has created an entire screen image in advance, and this method can also effectively use this. Furthermore, in such a case, the operation display screen is basically created so as to be substantially the same as the entire image created by the designer or the like, so in this method, the position of each item image is confirmed one by one. The effect that the operation | work of arrangement | positioning etc. becomes unnecessary is also acquired. That is, the burden of creating the operation display screen can be reduced. Furthermore, it is possible to reduce the burden of changing work when the design is changed (however, only the design is changed, and the position and the like are not changed).

また、図では、説明の都合上、ON用スクリーン全体画像43とOFF用スクリーン全体画像44の両方が画像表示選択領域41に表示されているが、各デザイン毎に1つのみ(例えばON用スクリーン全体画像のみ)画像表示選択領域41に表示されるようにしてもよい。   In the figure, for convenience of explanation, both the entire ON screen image 43 and the entire OFF screen image 44 are displayed in the image display selection area 41, but only one for each design (for example, the ON screen). Only the entire image) may be displayed in the image display selection area 41.

尚、図示のON用スクリーン全体画像43は、画面上の全アイテムが全てON状態であるときの操作表示画面を示すものと言える。同様に、図示のOFF用スクリーン全体画像44は、画面上の全アイテムが全てOFF状態であるときの操作表示画面を示すものと言える。一方、運用中のプログラマブル表示器1における操作表示画面では、通常、ON状態のアイテムもあればOFF状態のアイテムもあることになる。   In addition, it can be said that the ON screen whole image 43 shown in the drawing shows an operation display screen when all the items on the screen are all in the ON state. Similarly, it can be said that the OFF whole screen image 44 shown in the drawing shows an operation display screen when all items on the screen are all in the OFF state. On the other hand, on the operation display screen in the programmable display device 1 in operation, there are usually items in an ON state and items in an OFF state.

ユーザが、マウス操作等によって上記画像表示選択領域41に一覧表示されるスクリーン全体画像のなかから所望のデザインのスクリーン全体画像を選択・指定すると、当該指定されたスクリーン全体画像が、画面作成領域42に表示される。そして、ユーザが、この状態の画面作成領域42上で下記の作業を行うことで、所望の操作表示画面(その画面データ)が作成されることになる。   When the user selects and designates an entire screen image of a desired design from the entire screen images displayed in the image display selection area 41 by a mouse operation or the like, the designated entire screen image is displayed in the screen creation area 42. Is displayed. Then, when the user performs the following operation on the screen creation area 42 in this state, a desired operation display screen (its screen data) is created.

尚、画面データは、例えば後述するアイテムリスト56とほぼ同一と見做してよいので、後述する図8、図9に示すアイテムリスト56の具体例を用いて説明するならば、操作表示画面上の各アイテム毎に、そのアイテムタイプ(スイッチ、ランプ等)、位置情報(座標や大きさ)、割当メモリアドレス、ON画像No.、OFF画像No.等の所定の情報が登録されたものである。   Note that the screen data may be regarded as almost the same as, for example, an item list 56 described later. Therefore, if it is described using a specific example of the item list 56 shown in FIGS. Item type (switch, lamp, etc.), position information (coordinates and size), allocated memory address, ON image No. , OFF image No. The predetermined information such as is registered.

スクリーン全体画像には、図示のように複数のアイテムの画像(ここでは複数のランプの画像と複数のスイッチの画像)が含まれている。ユーザは、マウス操作等によって、スクリーン全体画像上の所望の領域(パーツ化したい領域)を囲む(図示の太点線矩形)。この操作は、従来における「選択したアイテム画像を所望の位置に配置する」操作に相当するものである。つまり、図示の太点線矩形の画像(スクリーン全体画像の一部;上記パーツ画像)が、従来のアイテム画像に相当することになる。そして、この操作によって、画面データの新規レコード追加が開始されることになる。   The entire screen image includes images of a plurality of items (here, images of a plurality of lamps and images of a plurality of switches) as illustrated. The user surrounds a desired region (region desired to be made into a part) on the entire screen image by a mouse operation or the like (the bold dotted line rectangle in the figure). This operation corresponds to a conventional “place the selected item image at a desired position” operation. That is, the thick dotted-line rectangular image shown in the figure (a part of the entire screen image; the above part image) corresponds to a conventional item image. By this operation, addition of a new record of screen data is started.

すなわち、上記アイテムリスト56の具体例を用いるならば、上記ユーザ操作(パーツ画像の領域指定)によって画面データに新規レコードが追加されると共に、その座標やサイズのデータ項目に、上記太点線矩形の座標と大きさが格納される。尚、従来であれば上記選択したアイテム画像を配置した場所の情報が、上記座標やサイズのデータ項目に格納されていた。更に、上記新規レコードのON画像No.、OFF画像No.のデータ項目には、上記選択したスクリーン全体画像の(ここではON用、OFF用それぞれの)識別用IDが格納される(実施例1の場合)。勿論、予め各スクリーン全体画像には、ユニークな識別用IDが割り当てられている。   In other words, if a specific example of the item list 56 is used, a new record is added to the screen data by the user operation (part image area designation), and the data item of the coordinate or size includes the bold dotted line rectangle. Stores coordinates and size. Conventionally, the information on the place where the selected item image is arranged is stored in the data item of the coordinates and size. Furthermore, the ON image No. of the new record. , OFF image No. In the data item, an identification ID (in this case, for ON and OFF) of the selected entire screen image is stored (in the case of the first embodiment). Of course, a unique identification ID is assigned to each entire screen image in advance.

尚、従来であれば上記選択したアイテム画像の(ON用、OFF用それぞれの)識別用IDが、上記ON画像No.、OFF画像No.のデータ項目に格納されていた。また、実施例2の場合には、後述するように支援装置5側で各種パーツ画像を生成する際に、各パーツ画像に識別用IDを割り当てる。そして、これら各パーツ画像の識別用IDが、上記新規レコードのON画像No.、OFF画像No.のデータ項目に格納されることになる。   Conventionally, the identification ID (for ON and OFF) of the selected item image is the ON image No. , OFF image No. Stored in the data item. In the case of the second embodiment, as described later, when various part images are generated on the support device 5 side, an identification ID is assigned to each part image. The identification ID of each part image is the ON image No. of the new record. , OFF image No. Will be stored in the data item.

ユーザが上記所望の領域を囲む操作(パーツ画像指定操作)を行うと、上記所定のデータ項目へのデータ格納処理が行われると共に、例えば図5(a)に示すアイテム変換ウィンドウ45が表示される。ユーザは、このアイテム変換ウィンドウ45上で所望のアイテム種別(スイッチ、ランプ等)を選択・指定する。この選択・指定結果は、上記新規レコードにおけるアイテムタイプのデータ項目に格納される。   When the user performs an operation (part image designation operation) surrounding the desired area, a data storage process for the predetermined data item is performed and, for example, an item conversion window 45 shown in FIG. 5A is displayed. . The user selects / designates a desired item type (switch, lamp, etc.) on the item conversion window 45. The selection / designation result is stored in the item type data item in the new record.

尚、従来の場合には、各アイテム画像に予めアイテム種別が付与されているので、上記配置されたアイテム画像のアイテム種別が上記アイテムタイプのデータ項目に格納されていた。本手法の場合、上記太点線矩形内の画像(パーツ画像)が、従来のアイテム画像に相当することになるが、これだけでは単なる画像データに過ぎないので、人間が判断してアイテム種別を設定する必要がある。   In the conventional case, since an item type is assigned to each item image in advance, the item type of the arranged item image is stored in the data item of the item type. In the case of this method, the image (part image) within the bold dotted rectangle corresponds to a conventional item image, but this is merely mere image data, and a person determines and sets the item type. There is a need.

そして、上記選択・指定されたアイテム種別に応じた図5(b)に示す設定ウィンドウ46が表示される。これ自体は従来と同様であってよいので、特に詳細には説明しないが、図示の例ではランプに応じた設定ウィンドウ46が表示され、例えば任意の割当メモリアドレスが設定可能となっている。この設定内容は、上記割当メモリアドレスのデータ項目に格納されることになる。   Then, a setting window 46 shown in FIG. 5B corresponding to the selected / designated item type is displayed. Since this may be the same as the conventional one, it will not be described in detail, but in the illustrated example, a setting window 46 corresponding to the lamp is displayed, and for example, an arbitrary allocated memory address can be set. This setting content is stored in the data item of the allocated memory address.

上記のようにして、任意のアイテムに関する各種設定(上記パーツ画像の領域の指定、これに関連するアイテム種別や割当メモリアドレス等の設定等)が完了することになる。この作業を、スクリーン全体画像上の各所(基本的には、スイッチ、ランプ等がある部分)について、各々、行っていくことで、画面データが作成されることになる。   As described above, various settings relating to an arbitrary item (designation of the region of the part image, setting of an item type and an allocated memory address related thereto, etc.) are completed. Screen data is created by performing this operation for each location on the entire screen image (basically, a portion having a switch, a lamp, etc.).

上記のようにして、ユーザ所望の操作表示画面(その画面データ)が作成されるが、この画面データ自体は一部を除いて従来と略同様であってよい。従来と異なる点は、上記ON画像No.とOFF画像No.である。   As described above, a user-desired operation display screen (its screen data) is created, but this screen data itself may be substantially the same as the conventional one except for a part. The difference from the prior art is that the ON image No. And OFF image No. It is.

すなわち、従来では上記従来画面作成領域上に配置されたアイテム画像(ON用とOFF用)の識別IDが、上記ON画像No.とOFF画像No.に格納される。これに対して、上記の通り実施例1の場合には選択されて画面作成領域42に表示されたデザインのスクリーン全体画像の識別ID(ON用とOFF用それぞれ)が、上記ON画像No.とOFF画像No.に格納される。また、上記の通り、実施例2の場合には、支援装置5側でスクリーン全体画像から上記各種パーツ画像を生成する処理が行われ、これら各種パーツ画像(ON用とOFF用それぞれ)の識別用IDが、上記ON画像No.とOFF画像No.に格納されることになる。   That is, conventionally, the identification IDs of the item images (ON and OFF) arranged on the conventional screen creation area are the ON image No. And OFF image No. Stored in On the other hand, as described above, in the case of the first embodiment, the identification ID (ON and OFF) of the entire screen image of the design selected and displayed in the screen creation area 42 is the ON image No. And OFF image No. Stored in As described above, in the case of the second embodiment, the support device 5 performs processing for generating the various part images from the entire screen image, and for identifying these various part images (for ON and OFF). ID is the ON image No. And OFF image No. Will be stored.

また、従来では、作成された画面データと共に(あるいは別途)、各アイテム画像をプログラマブル表示器1に転送して記憶させていた。これに対して、本手法では、作成された画面データと共に(あるいは別途)、各スクリーン全体画像あるいは各パーツ画像を、プログラマブル表示器1に転送して記憶させる。   Conventionally, each item image is transferred to the programmable display device 1 and stored together with the created screen data (or separately). On the other hand, in this method, together with the generated screen data (or separately), the entire screen image or each part image is transferred to the programmable display 1 and stored.

上述した支援装置5側での画面データ作成作業によって作成されてプログラマブル表示器1に転送された画面データ(ここではスクリーン全体画像も一緒に転送されてくるものとする)は、プログラマブル表示器1内の上記ROM12(フラッシュメモリ等)に記憶される。このスクリーン全体画像は、上記支援装置5側で画面データ生成に用いられたデザインのスクリーン全体画像(ON用とOFF用)である。但し、この例に限らず、予め各種デザインのスクリーン全体画像が、プログラマブル表示器1に記憶されていてもよい。   The screen data created by the screen data creation operation on the support device 5 side described above and transferred to the programmable display 1 (here, the entire screen image is also transferred together) is stored in the programmable display 1 Is stored in the ROM 12 (flash memory or the like). This whole screen image is a whole screen image (for ON and OFF) of the design used for generating screen data on the support device 5 side. However, the present invention is not limited to this example, and whole screen images of various designs may be stored in the programmable display 1 in advance.

プログラマブル表示器1は、ROM12等に記憶された画面データとスクリーン全体画像を用いて、例えば図6に示す操作表示画面47をディスプレイ19上に表示する。基本的には、画面データの各アイテム毎に、そのアイテムに係る現在の状態に応じたスクリーン全体画像(つまり、ON状態であればON用スクリーン全体画像)から、そのアイテムの該当領域の画像を切り出すことで上記パーツ画像を生成する。そして、生成したパーツ画像をそのアイテムの位置情報に基づいてディスプレイ19上の所定位置に表示する。   The programmable display 1 displays, for example, an operation display screen 47 shown in FIG. 6 on the display 19 using the screen data stored in the ROM 12 or the like and the entire screen image. Basically, for each item of screen data, an image of the corresponding area of the item is obtained from the entire screen image corresponding to the current state of the item (that is, the entire screen image for ON in the ON state). The part image is generated by cutting out. Then, the generated part image is displayed at a predetermined position on the display 19 based on the position information of the item.

また、図6に示す例では、各パーツ画像だけでなく、例えば図示の「REAL MONITOR」等の文字も表示されているが、これは例えばOFF用スクリーン全体画像を背景として表示しているものである。つまり、デフォルト状態では全アイテムがOFF状態で表示されることになる。   In addition, in the example shown in FIG. 6, not only each part image but also characters such as “REAL MONITOR” shown in the figure are displayed. is there. That is, in the default state, all items are displayed in the OFF state.

そして、運用開始後は、ON状態となったアイテムに関しては、ON用スクリーン全体画像から切り出したパーツ画像(ONパーツ画像というものとする)を、上記背景の所定位置に描画する。これによって、このアイテムに関する表示内容が、OFF状態からON状態へと変化することになる。   Then, after the operation is started, for an item that is in the ON state, a part image cut out from the entire ON screen image (referred to as an ON part image) is drawn at a predetermined position on the background. As a result, the display content related to this item changes from the OFF state to the ON state.

一方、OFF状態となったアイテムに関しては、OFF用スクリーン全体画像から切り出したパーツ画像(OFFパーツ画像というものとする)を、上記背景の所定位置に描画する。これによって、このアイテムに関する表示内容が、ON状態からOFF状態へと変化することになる。但し、元々がデフォルト状態表示であった場合には、少なくともユーザからの見た目では、OFF状態のままであり、表示内容は変化しないように見える。   On the other hand, for an item in the OFF state, a part image cut out from the entire OFF screen image (referred to as an OFF part image) is drawn at a predetermined position on the background. As a result, the display content relating to this item changes from the ON state to the OFF state. However, when the display is originally in the default state, at least from the user's viewpoint, the display remains in the OFF state and the display content does not change.

ここで、表示操作画面のデザイン変更が要望される場合がある。例えば、現状では図4や図6の図上左側や中央に示すようなデザインで表示しているが、これを、図6の図上右側に示すデザイン(新デザインというものとする)に変更するケースを考える。尚、ここでは、デザインのみが変更されるものであり、各アイテムの配置、種別、機能、割当メモリアドレス等は変更されないケースを想定する。   Here, there is a case where the design change of the display operation screen is desired. For example, in the present situation, the design shown in the left or center of FIG. 4 or 6 is changed to the design shown in the right side of FIG. 6 (referred to as a new design). Think of a case. Here, it is assumed that only the design is changed, and the arrangement, type, function, allocated memory address, etc. of each item are not changed.

この様な場合、従来では、支援装置5側で開発者等が、新デザインのスクリーン全体画像に基づいて、各アイテム画像を作成して登録したうえで、新デザインの各アイテム画像等を用いて新たに操作表示画面を作成する作業が必要であった。これに対して、本手法では、プログラマブル表示器1側で保持している旧デザインのスクリーン全体画像を、新デザインのスクリーン全体画像に差し替えるだけで済むようになる。   In such a case, conventionally, the developer or the like on the support apparatus 5 side creates and registers each item image based on the entire screen image of the new design, and then uses each item image or the like of the new design. It was necessary to create a new operation display screen. On the other hand, in this method, it is only necessary to replace the entire screen image of the old design held on the programmable display 1 side with the entire screen image of the new design.

尚、その際、新デザインのスクリーン全体画像の識別用IDを、旧デザインのスクリーン全体画像の識別用IDと同一とするようにしてもよい。但し、この例に限らず、例えば新デザインのスクリーン全体画像の識別用IDは新規のユニークな識別用IDとし、アイテムリスト56の後述するOFF画像No.66とON画像No.67を、新デザインのスクリーン全体画像の識別用IDに変更するようにしてもよい。何れにしても、画面表示処理の際に、新デザインのスクリーン全体画像を用いてパーツ画像の生成等が行われるようにするものであれば、何でも良い。   At this time, the identification ID of the entire screen image of the new design may be the same as the identification ID of the entire screen image of the old design. However, the present invention is not limited to this example. For example, the ID for identification of the whole screen image of the new design is a new unique identification ID. 66 and ON image No. 67 may be changed to the ID for identification of the entire screen image of the new design. In any case, anything may be used as long as the part image is generated using the entire screen image of the new design during the screen display process.

上記スクリーン全体画像の変更後は、図6の図上右側に示す新デザインのスクリーン全体画像から、上記パーツ画像が切り出されて表示されるので、結果的に新デザインによる操作表示画面が表示されるようになる。   After the change of the whole screen image, the part image is cut out and displayed from the whole screen image of the new design shown on the right side of FIG. 6, and as a result, the operation display screen based on the new design is displayed. It becomes like this.

尚、図6は、プログラマブル表示器の操作表示画面の表示例等である。
図7は、本例のプログラマブル表示器1の処理機能図である。
プログラマブル表示器1には、画面データ22、スクリーン全体画像57等が記憶される。尚、スクリーン全体画像57は、識別用IDに対応付けて記憶されている。
FIG. 6 shows a display example of the operation display screen of the programmable display.
FIG. 7 is a processing function diagram of the programmable display 1 of this example.
The programmable display 1 stores screen data 22, an entire screen image 57, and the like. The entire screen image 57 is stored in association with the identification ID.

CPU11が、例えば上記ROM12に記憶されている所定のプログラム(例えば上記本体プログラム21、通信プログラム23等)を実行することにより、例えば図7の点線内に示す各種処理機能部が実現される。すなわち、図示のアイテム生成部51、アイテム処理スケジュール部52、アイテム処理部53、通信処理部54(54−1、54−2等)等の各種処理機能部の下記の処理機能が実現される。   When the CPU 11 executes a predetermined program (for example, the main body program 21, the communication program 23, etc.) stored in the ROM 12, for example, various processing function units shown within a dotted line in FIG. 7 are realized. That is, the following processing functions of various processing function units such as the item generation unit 51, the item processing schedule unit 52, the item processing unit 53, and the communication processing unit 54 (54-1, 54-2, etc.) shown in the figure are realized.

尚、例えば、アイテム生成部51とアイテム処理スケジュール部52とアイテム処理部53とは、本体プログラム21によって実現される。通信処理部54は、本体プログラム21と通信プログラム23とによって実現される。   For example, the item generation unit 51, the item processing schedule unit 52, and the item processing unit 53 are realized by the main body program 21. The communication processing unit 54 is realized by the main body program 21 and the communication program 23.

アイテム生成部51は、上記画面データ22等に基づいて、アイテムリスト56を生成する。これは、例えば、画面データ22の一部を抽出する形で生成する(更に後述する処理済みフラグ68を追加する)。   The item generation unit 51 generates an item list 56 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22 (further, a processed flag 68 described later is added).

ここで、図8に、アイテムリスト56のデータ構成図を示す。
また、図9(a)に、実施例1におけるアイテムリスト56のデータ格納例を示す。
図示の例のアイテムリスト56は、アイテムタイプ61、座標62、サイズ63、デバイス名64、アドレス65、OFF画像No.66、ON画像No.67、処理済みフラグ68の各データ項目より成る。アイテムリスト56の各レコードが、操作表示画面の各アイテムに対応するものである。尚、図示の例に限らず、更に各アイテムの識別番号等があってもよい。
Here, FIG. 8 shows a data structure diagram of the item list 56.
FIG. 9A shows a data storage example of the item list 56 in the first embodiment.
The item list 56 in the illustrated example includes an item type 61, coordinates 62, size 63, device name 64, address 65, OFF image No. 66, ON image no. 67, each data item of processed flag 68. Each record in the item list 56 corresponds to each item on the operation display screen. Note that the present invention is not limited to the illustrated example, and may further include an identification number of each item.

アイテムタイプ61には、そのアイテムの種別(スイッチ、ランプ、数値表示等)を示すアイテム種別識別情報が格納される。
OFF画像No.66とON画像No.67には、操作表示画面に係るデザインのスクリーン全体画像57(OFF用とON用)の識別用IDが格納される。尚、図9(a)の図上右側に示すように、別途、各画像No.に対応付けてスクリーン全体画像データが登録されている。これは、予めプログラマブル表示器1側にも登録されていてもよいし(勿論、作画エディタ装置5側には予め登録されている)、画面データ22と一緒にダウンロードされるものであってもよい。
The item type 61 stores item type identification information indicating the type of the item (switch, lamp, numerical display, etc.).
OFF image No. 66 and ON image No. 67 stores an identification ID of the entire screen image 57 (for OFF and ON) of the design related to the operation display screen. As shown on the right side of FIG. The entire screen image data is registered in association with. This may be registered in advance on the programmable display 1 side (of course, registered in advance on the drawing editor device 5 side), or may be downloaded together with the screen data 22. .

また、デバイス名64とアドレス65は、各アイテムに関するメモリ割当情報であり、上記割当メモリアドレスに相当する。つまり、デバイス名64が示すメモリにおけるアドレス65が示す記憶領域が、そのアイテムに割り当てられた領域(上記割当メモリ領域)である。この割当メモリ領域の格納データが、そのアイテムの現在の状態を示すものである。例えばアイテムタイプ61がランプであれば、ランプの点灯/消灯を示すフラグデータ等が格納データである。   The device name 64 and the address 65 are memory allocation information related to each item, and correspond to the allocated memory address. That is, the storage area indicated by the address 65 in the memory indicated by the device name 64 is an area assigned to the item (the assigned memory area). The stored data in the allocated memory area indicates the current state of the item. For example, if the item type 61 is a lamp, the stored data includes flag data indicating lighting / extinguishing of the lamp.

上記アイテムタイプ61、デバイス名64、アドレス65は、従来と略同様であってよい。また、座標62とサイズ63は、パーツ画像の表示領域を示すものである。但し、実施例1の場合、座標62とサイズ63は、上記パーツ画像生成の際にも用いられる。すなわち、実施例1の場合には、上記OFF画像No.66またはON画像No.67が示すスクリーン全体画像57から、座標62とサイズ63に応じた領域の画像を切り出して上記パーツ画像とするものである。切り出したパーツ画像は、ディスプレイ上の所定領域(上記座標62とサイズ63が示す領域)に表示される。   The item type 61, the device name 64, and the address 65 may be substantially the same as the conventional one. The coordinates 62 and the size 63 indicate the display area of the part image. However, in the case of the first embodiment, the coordinates 62 and the size 63 are also used when generating the part image. That is, in the case of Example 1, the OFF image No. 66 or ON image no. An image of an area corresponding to the coordinates 62 and the size 63 is cut out from the entire screen image 57 indicated by 67 to obtain the part image. The cut-out part image is displayed in a predetermined area (area indicated by the coordinates 62 and the size 63) on the display.

ここで、図9(b)に、実施例2におけるアイテムリスト56’のデータ格納例を示す。図9(b)の例は、図9(a)の例と一部を除き殆ど同じであるので(符号は、56、66、67の代わりに56’、66’、67’と記すものとする)、異なる点についてのみ説明する。図9(b)に示すアイテムリスト56’では、上記OFF画像No.66とON画像No.67の代わりに、OFF画像No.66’とON画像No.67’が格納される。   Here, FIG. 9B shows a data storage example of the item list 56 ′ in the second embodiment. The example of FIG. 9B is almost the same as the example of FIG. 9A except for a part (the reference numerals are 56 ′, 66 ′, 67 ′ instead of 56, 66, 67). ), Only the differences will be described. In the item list 56 ′ shown in FIG. 66 and ON image No. In place of 67, the OFF image No. 66 'and ON image No. 67 'is stored.

OFF画像No.66’とON画像No.67’には、そのアイテムの画像データ(パーツ画像)の識別ID等が格納される。例えば、アイテムタイプがスイッチであれば何らかのスイッチのOFFパーツ画像とONパーツ画像の各画面No.が、OFF画像No.66’とON画像No.67’に格納されることになる。   OFF image No. 66 'and ON image No. 67 'stores an identification ID or the like of the image data (part image) of the item. For example, if the item type is a switch, each switch No. However, the OFF image No. 66 'and ON image No. 67 '.

尚、実施例2の場合には、図9(b)の図上右側に示すように、別途、各画像No.に対応付けてパーツ画像データが登録されている。これは、予めプログラマブル表示器1側にも登録されていてもよいし(勿論、作画エディタ装置5側には予め登録されている)、画面データ22と一緒にプログラマブル表示器1にダウンロードされるものであってもよい。   In the case of the second embodiment, as shown on the right side of FIG. Part image data is registered in association with. This may be registered in advance on the programmable display 1 side (of course, registered in advance on the drawing editor device 5 side) or downloaded to the programmable display 1 together with the screen data 22. It may be.

尚、上記OFF画像No.66’とON画像No.67’に、そのアイテムのアイテム画像(ON用とOFF用)の識別ID等が格納される構成が、従来のアイテムリストに相当すると見做してもよい。   The OFF image No. 66 'and ON image No. It may be considered that the configuration in which the ID of the item image (ON and OFF) of the item is stored in 67 'corresponds to a conventional item list.

以上、図8、図9の例を用いてアイテムリスト56について詳細に説明した。
図7の説明に戻る。
図7に示すアイテム処理スケジュール部52は、アイテム処理部53による各アイテムの表示更新処理等のスケジュール管理を行う。つまり、アイテム処理スケジュール部52は、例えば定期的にアイテム処理部53を呼び出して例えば後述する図12、図13の処理を実行させる(換言すれば、図12、図13の処理をサイクリックに実行させる)。
The item list 56 has been described in detail above with reference to the examples of FIGS.
Returning to the description of FIG.
The item processing schedule unit 52 illustrated in FIG. 7 performs schedule management such as display update processing of each item by the item processing unit 53. That is, the item processing schedule unit 52 periodically calls the item processing unit 53 to execute, for example, the processing of FIGS. 12 and 13 described later (in other words, the processing of FIGS. 12 and 13 is executed cyclically). )

アイテム処理部53は、上記アイテムリスト56や後述する共有メモリ55の格納データ(割当メモリ領域からの取得データ)等に基づいて、各アイテム毎に、その表示内容の更新(例えばON用画像/OFF用画像切替)等に係わる処理を実行する。   The item processing unit 53 updates the display contents for each item (for example, ON image / OFF, for example) based on the item list 56 and data stored in the shared memory 55 described later (acquired data from the allocated memory area). Processing related to image switching).

アイテム処理部53は、例えば上記割当メモリ領域からの取得データ等に基づいて、上記表示操作画面の表示内容を決定・更新する。これは、例えば、各アイテム毎に、現在の状態(例えばON状態/OFF状態)を判定して(この判定処理自体は従来と略同様)、判定結果に応じた種類のスクリーン全体画像57から上記パーツ画像を切り出して、このパーツ画像をRAM13上に描画(展開)する。これによって、グラフィックコントローラ15が当該描画データをディスプレイ上に表示することで、上記表示操作画面が表示されることになる。この描画データは、アイテム処理部53によって例えば後述する図12、図13の処理実行毎に随時更新される。   The item processing unit 53 determines and updates the display content of the display operation screen based on, for example, acquired data from the allocation memory area. For example, for each item, the current state (for example, ON state / OFF state) is determined (this determination process itself is substantially the same as the conventional case), and the above-described screen entire image 57 according to the determination result A part image is cut out, and this part image is drawn (developed) on the RAM 13. As a result, the graphic controller 15 displays the drawing data on the display, whereby the display operation screen is displayed. This drawing data is updated by the item processing unit 53 whenever necessary, for example, every time processing shown in FIGS.

通信処理部54は、各接続機器4(4−1、4−2)毎に備えられる通信処理部54−1、54−2である。すなわち、図示の通信処理部54−1は、接続機器4−1に対応する通信ポートWAY1を使用して、通信ライン6を介して、接続機器4−1との通信を行って、その機器メモリの所定領域(割当メモリ領域)の格納データを取得する。取得データは、共有メモリ55の所定領域に上書き格納する。   The communication processing unit 54 is a communication processing unit 54-1 or 54-2 provided for each connected device 4 (4-1 or 4-2). That is, the illustrated communication processing unit 54-1 performs communication with the connection device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connection device 4-1, and the device memory Stored data in a predetermined area (allocated memory area). The acquired data is overwritten and stored in a predetermined area of the shared memory 55.

同様に、図示の通信処理部54−2は、接続機器4−2に対応する通信ポートWAY2を使用して、通信ライン6を介して、接続機器4−2との通信を行って、その機器メモリの所定領域(割当メモリ領域)の格納データを取得する。取得データは、共有メモリ55の所定領域に上書き格納する。   Similarly, the illustrated communication processing unit 54-2 performs communication with the connection device 4-2 via the communication line 6 using the communication port WAY2 corresponding to the connection device 4-2, and the device. Data stored in a predetermined area (allocated memory area) of the memory is acquired. The acquired data is overwritten and stored in a predetermined area of the shared memory 55.

図10(a)には共有メモリ55のデータ構造例を示す。
図10(a)に示す例では、共有メモリ55の格納データは、ポート71、デバイス名72、アドレス73、データ74の各データ項目より成る。
FIG. 10A shows an example data structure of the shared memory 55.
In the example shown in FIG. 10A, the data stored in the shared memory 55 includes data items of a port 71, a device name 72, an address 73, and data 74.

ポート71は、上記通信ポートの識別情報等であり、実質的には通信相手の接続機器4を識別する情報となる。デバイス72は、通信相手の接続機器4内のメモリデバイス(外部メモリ)の識別情報である。アドレス73は、デバイス72が示す外部メモリにおける所定の記憶領域のアドレスであり、データ74にはこの記憶領域から取得したデータが格納される。尚、デバイス名72とアドレス73とが、各アイテムの上記“割当メモリアドレス”に相当すると見做してよい。これらは、例えば、アイテムリスト56のデバイス名64、アドレス65をコピーしたものである。また、ポート71は、例えばデバイス名72に基づいて該当する接続機器4を判別することで判定した通信ポート番号等である。あるいは、デバイス名64には、メモリデバイス名だけでなく通信ポート番号等も含まれていてもよい。 The port 71 is identification information of the communication port and the like, and is substantially information for identifying the connection device 4 of the communication partner. The device name 72 is identification information of a memory device (external memory) in the connection device 4 of the communication partner. The address 73 is an address of a predetermined storage area in the external memory indicated by the device name 72, and the data 74 stores data acquired from this storage area. Note that the device name 72 and the address 73 may be regarded as corresponding to the “allocated memory address” of each item. These are copies of the device name 64 and address 65 of the item list 56, for example. The port 71 is, for example, a communication port number determined by determining the corresponding connected device 4 based on the device name 72. Alternatively, the device name 64 may include not only the memory device name but also a communication port number.

図11は、通信処理部54の処理フローチャート図である。
例えば図7の例では各通信処理部54−1、54−2が、各々、図11の処理をサイクリックに(定周期で)実行するものである。
FIG. 11 is a processing flowchart of the communication processing unit 54.
For example, in the example of FIG. 7, each of the communication processing units 54-1 and 54-2 performs the processing of FIG. 11 cyclically (at a constant cycle).

図11の処理例では、まず、共有メモリ55を参照して、自己が担当する接続機器4に係るメモリリスト80を生成する(ステップS1)。例えば、通信処理部54−1による処理の場合には、接続機器4−1に係るメモリリスト80を生成することになる。   In the processing example of FIG. 11, first, the shared memory 55 is referenced to generate the memory list 80 related to the connected device 4 that is in charge of itself (step S1). For example, in the case of processing by the communication processing unit 54-1, the memory list 80 related to the connected device 4-1 is generated.

図10(b)に、このメモリリスト80のデータ構成例を示す。
図示の例では、メモリリスト80は、デバイス名81、アドレス82、データ83の各データ項目より成る。
FIG. 10B shows a data configuration example of the memory list 80.
In the illustrated example, the memory list 80 includes data items of a device name 81, an address 82, and data 83.

例えば上記通信処理部54−1は、共有メモリ55からポート71が“WAY1”であるレコードを全て抽出する。そして、該各抽出レコードのデバイス名72、アドレス73、データ74の情報を、上記デバイス名81、アドレス82、データ83に格納する。これによって、上記接続機器4−1に係るメモリリスト80が生成されることになる。尚、データ83は必ずしも必要ない。   For example, the communication processing unit 54-1 extracts all records in which the port 71 is “WAY 1” from the shared memory 55. The information of the device name 72, address 73, and data 74 of each extracted record is stored in the device name 81, address 82, and data 83. As a result, the memory list 80 relating to the connected device 4-1 is generated. The data 83 is not always necessary.

その後は、生成したメモリリスト80を参照しながら、ステップS5の判定がNOとなるまで、ステップS2〜S5の処理を繰り返し実行する。
すなわち、メモリリスト80から未処理のレコードを取り出して(処理対象レコードとし)、このレコードの内容に基づくメモリ読込コマンドを生成して自己が担当する接続機器4に通信ライン6を介して送信する(ステップS2)。そして、このメモリ読込コマンドに対する接続機器4からの応答待ちとなる(ステップS3)。
Thereafter, while referring to the generated memory list 80, the processes in steps S2 to S5 are repeatedly executed until the determination in step S5 becomes NO.
That is, an unprocessed record is taken out from the memory list 80 (as a process target record), a memory read command based on the contents of this record is generated, and transmitted to the connected device 4 in charge via the communication line 6 ( Step S2). Then, it waits for a response from the connected device 4 to this memory read command (step S3).

上記メモリ読込コマンドには、上記デバイス名81やアドレス82等による割当メモリアドレスの情報が含まれる。接続機器4は、この割当メモリアドレスが示す記憶領域からデータを読み出して、この読出しデータを返信する応答処理を行う。   The memory read command includes information on the allocated memory address based on the device name 81, the address 82, and the like. The connected device 4 reads out data from the storage area indicated by the allocated memory address and performs response processing for returning the read data.

通信処理部54は、接続機器4から応答があった場合には、この応答に含まれる読出しデータを、上記共有メモリ55において処理対象レコードに相当するレコードにおける上記データ74の欄に上書き格納する(ステップS4)。   When there is a response from the connected device 4, the communication processing unit 54 overwrites and stores the read data included in this response in the column of the data 74 in the record corresponding to the processing target record in the shared memory 55 ( Step S4).

そして、メモリリスト80に未処理のレコードが残っている場合には(ステップS5,YES)ステップS2に戻り、未処理のレコードが無くなったら(ステップS5,NO)本処理を終了する。   If an unprocessed record remains in the memory list 80 (step S5, YES), the process returns to step S2, and if there is no unprocessed record (step S5, NO), the process ends.

図12、図13は、実施例1のアイテム処理部53の処理フローチャート図である。
上記の通り、図12、図13(以下、図12等と記す場合もある)の処理は、アイテム処理スケジュール部52の管理のもとでサイクリックに実行される。
12 and 13 are process flowcharts of the item processing unit 53 according to the first embodiment.
As described above, the processes in FIG. 12 and FIG. 13 (hereinafter sometimes referred to as FIG. 12 and the like) are cyclically executed under the management of the item processing schedule unit 52.

図12等の処理例では、アイテム処理部53は、まず、アイテムリスト56の初期化処理を実行する(ステップS11)。これは、例えば、アイテムリスト56の全レコードの処理済みフラグ68を“未処理”にする。その後は、後述するステップS18がNOとなるまで、ステップS12〜S18の処理を繰り返し実行する。   In the processing example of FIG. 12 and the like, the item processing unit 53 first executes an initialization process for the item list 56 (step S11). For example, the processed flag 68 of all records in the item list 56 is set to “unprocessed”. Thereafter, the processes of steps S12 to S18 are repeatedly executed until NO in step S18 described later.

すなわち、アイテムリスト56において処理済みフラグ68が“未処理”であるレコードのなかの任意のレコードを処理対象レコードとして(ステップS12)、当該処理対象レコードのデバイス名64、アドレス65等を取得して(ステップS12)、これらを用いて共有メモリ55の該当レコードを検索してそのデータを取得する(ステップS13)。つまり、例えば、そのデバイス名72及びアドレス73が、上記取得したデバイス名64及びアドレス65と同一であるレコードが、上記該当レコードである。そして、該当レコードのデータ74(割当メモリ領域から取得したデータ等)を取得する(ステップS13)。尚、ここではステップS13で取得したデータ74を、メモリ情報90と記す場合もあるものとする。 That is, (step S12) as the processing target record any record within the processed flag 68 is "raw" records in the item list 56, the device name 64 of the processing target record, and obtains the address 65 etc. (Step S12), the corresponding record in the shared memory 55 is searched using these, and the data is acquired (Step S13). That is, for example, a record whose device name 72 and address 73 are the same as the acquired device name 64 and address 65 is the corresponding record. Then, data 74 (data acquired from the allocation memory area) of the corresponding record is acquired (step S13). Here, the data 74 acquired in step S13 may be referred to as memory information 90.

そして、取得したメモリ情報90に基づいて、所定対象レコードのアイテムに係わる現在の状態(例えばON状態かOFF状態か)を判定し、判定結果に応じたスクリーン全体画像57を取得する(ステップS14)。これは、例えば現在の状態がON状態と判定した場合には、アイテムリスト56の上記処理対象レコードの上記ON画像No.67を参照して、当該ON画像No.67が示すスクリーン全体画像57を取得する。つまり、ON用のスクリーン全体画像が取得されることになる。同様に、例えば現在の状態がOFF状態と判定した場合には、アイテムリスト56の上記処理対象レコードの上記OFF画像No.66を参照して、当該OFF画像No.66が示すスクリーン全体画像57を取得する。つまり、OFF用のスクリーン全体画像が取得されることになる。   Based on the acquired memory information 90, the current state (for example, ON state or OFF state) relating to the item of the predetermined target record is determined, and the entire screen image 57 corresponding to the determination result is acquired (step S14). . For example, if it is determined that the current state is the ON state, the ON image No. of the record to be processed in the item list 56 is displayed. 67, the ON image No. The entire screen image 57 indicated by 67 is acquired. That is, the entire screen image for ON is acquired. Similarly, for example, when it is determined that the current state is the OFF state, the OFF image No. of the record to be processed in the item list 56 is displayed. 66, the OFF image No. An entire screen image 57 indicated by 66 is acquired. That is, the entire screen image for OFF is acquired.

そして、ステップS14で取得したスクリーン全体画像57から、処理対象のアイテムの該当領域の画像を切り出す(上記パーツ画像を生成する)(ステップS15)。これは、ステップS14で取得したスクリーン全体画像57から、上記処理対象レコードの座標62及びサイズ63が示す領域の画像を切り出すものである。そして、ステップS15で生成したパーツ画像を、処理対象のアイテムの該当領域に描画する(ステップS16)。これは、上記処理対象レコードの座標62及びサイズ63が示す領域に、ステップS15で生成したパーツ画像を描画するものである。   Then, an image of the corresponding area of the item to be processed is cut out from the entire screen image 57 acquired in step S14 (the part image is generated) (step S15). This cuts out an image of an area indicated by the coordinates 62 and the size 63 of the processing target record from the entire screen image 57 acquired in step S14. Then, the part image generated in step S15 is drawn in the corresponding area of the item to be processed (step S16). This is for drawing the part image generated in step S15 in the area indicated by the coordinates 62 and the size 63 of the processing target record.

最後に所定の完了処理を実行する(例えば上記処理対象レコードの処理済みフラグ68を“処理済”にする)。そして、アイテムリスト56に未処理レコードがあるか否かを判定し(ステップS18)、残っている場合には(ステップS18,YES)ステップS12に戻り、未処理レコードがなくなったならば(ステップS18,NO)本処理を終了する。   Finally, predetermined completion processing is executed (for example, the processed flag 68 of the processing target record is set to “processed”). Then, it is determined whether or not there is an unprocessed record in the item list 56 (step S18). If it remains (step S18, YES), the process returns to step S12, and if there is no unprocessed record (step S18). , NO) This process ends.

以上、説明したように、実施例1のプログラマブルコントローラシステム、その支援装置5、プログラマブル表示器1等によれば、支援装置5側におけるプログラマブル表示器用の画面(操作表示画面;その画面データ)の作成作業の手間を軽減できる。これは、特に、デザイナー等が作成した全体イメージ通りに画面データを作成する場合には、画面データ作成者の手間が軽減されるものである。また、全体イメージ画像を有効利用することができる。   As described above, according to the programmable controller system of the first embodiment, the support device 5, the programmable display device 1 and the like, creation of a screen (operation display screen; screen data) for the programmable display on the support device 5 side. Work time can be reduced. In particular, when screen data is created according to the entire image created by a designer or the like, the effort of the screen data creator is reduced. In addition, the entire image can be used effectively.

更に、操作表示画面のデザイン変更を行う場合に(但し、上記の通り基本的に、アイテム種別、配置、割当メモリ等は変更されない場合を想定する)、スクリーン全体画像を新規デザインのものに差し替えるだけで済むので、変更作業負担を大幅に軽減できる。   Furthermore, when the design of the operation display screen is changed (however, as described above, it is basically assumed that the item type, arrangement, allocated memory, etc. are not changed), the entire screen image is simply replaced with a new design. Therefore, the burden of change work can be greatly reduced.

次に、以下、実施例2について説明する。
上記の通り(例えば図9(b)等で説明したように)、実施例2の場合、プログラマブル表示器1におけるデータ(画面データ22等)や処理動作は、従来と同様であってよい。ここで、アイテムリスト56は画面データ22と殆ど同じであるので、図9(b)に示すアイテムリスト56’を画面データ22と見做して、支援装置5における画面データ作成処理について、以下に説明する。
Next, Example 2 will be described below.
As described above (for example, as described in FIG. 9B and the like), in the case of the second embodiment, the data (screen data 22 and the like) and the processing operation in the programmable display 1 may be the same as those in the past. Here, since the item list 56 is almost the same as the screen data 22, the item list 56 ′ shown in FIG. 9B is regarded as the screen data 22, and the screen data creation processing in the support device 5 will be described below. explain.

ここでは、再び図4、図5も参照して説明するものとする。
実施例2においても、支援装置5側における開発者の作業自体は、上記図4、図5で説明した通りであると見做してもよい。しかし、この作業に応じた画面データ22の生成処理が実施例1とは異なる。
Here, the description will be given with reference to FIGS. 4 and 5 again.
Also in the second embodiment, the developer's work itself on the support device 5 side may be considered as described with reference to FIGS. However, the generation processing of the screen data 22 corresponding to this work is different from that in the first embodiment.

すなわち、まず、図4で説明したように、ユーザは、マウス操作等によって、所望の画像部分(パーツ化したい領域)を指定する(図示の太点線矩形)。この指定領域の座標、大きさが、座標62、サイズ63に記憶される点は実施例1と同じであるが、実施例2の場合、更に上記指定領域の画像を切り出して(パーツ画像を切り出す)、このパーツ画像に任意のユニークな識別ID(画像No.)を付与して登録する。これは、基本的に、現在指定されているデザインのON用とOFF用のスクリーン全体画像それぞれから、パーツ画像を切り出して、これらON用とOFF用の各パーツ画像に対して任意のユニークな画像No.を割り当てて記憶する。そして、この様にして生成・登録されたON用のパーツ画像の画像No.をON画像No.67’に格納し、OFF用のパーツ画像の画像No.をOFF画像No.66’に格納する。   That is, as described with reference to FIG. 4, the user first designates a desired image portion (region to be converted into a part) by a mouse operation or the like (bold dotted rectangle shown). The coordinates and size of the designated area are stored in the coordinates 62 and the size 63 in the same manner as in the first embodiment, but in the second embodiment, an image of the designated area is further cut out (part image is cut out). ), An arbitrary unique identification ID (image No.) is assigned to the part image and registered. Basically, a part image is cut out from the entire ON and OFF screen images of the currently specified design, and an arbitrary unique image for each of the ON and OFF part images. No. Assign and memorize. Then, the image No. of the part image for ON generated and registered in this way is registered. ON image No. 67 'and the image No. of the part image for OFF is stored. OFF image No. 66 '.

その後、上記図5(a)、図5(b)で説明した作業も行われるが、この作業に応じた画面データ22へのデータ追加処理は、既に説明した通りであり、ここでは特に説明しない。   Thereafter, the work described in FIG. 5A and FIG. 5B is also performed, but the data addition processing to the screen data 22 corresponding to this work is as described above, and is not particularly described here. .

この様にして生成された画面データ22は、例えば図9(b)に示すアイテムリスト56’と同様の内容となる。そして、この画面データ22を、上記生成した(そして画像No.が割り当てられた)パーツ画像と共に、プログラマブル表示器1にダウンロードして記憶させる。これより、プログラマブル表示器1は、これら画面データとパーツ画像等に基づいて、従来と同様の処理動作により、操作表示画面を表示/更新制御することができる。   The screen data 22 generated in this way has the same contents as the item list 56 'shown in FIG. 9B, for example. Then, the screen data 22 is downloaded and stored in the programmable display 1 together with the generated part image (and assigned with the image number). Thus, the programmable display 1 can display / update the operation display screen based on the screen data, the part image, and the like by the same processing operation as the conventional one.

また、上記パーツ画像を支援装置5側に登録しておき、従来と同様の画面データ作成支援作業に利用することもできる。すなわち、従来では予め登録されているアイテム画像一覧表示して任意のアイテム画像を選択させ任意の位置に配置させることで画面データを作成させた。本例では、上記登録されたパーツ画像を一覧表示して、任意のパーツ画像を選択させ任意の位置に配置させることで画面データを作成させることもできる。 Also, the part image can be registered on the support device 5 side and used for the screen data creation support work similar to the conventional one. That is, in the conventional to create screen data be placed in any position to select any item image to list the item image registered beforehand. In this example, screen data can be created by displaying a list of the registered part images, selecting an arbitrary part image, and placing it at an arbitrary position.

また、上述した処理は、実施例2に係わる具体例であり、この例に限らない。例えば、支援装置5において、予め、各スクリーン全体画像から上記パーツ画像の切り出しと、これに基づく新規アイテム画像の生成・登録を行うようにしてもよい。この場合、画面データ作成支援機能自体は、従来と同じであり、上記新規アイテム画像を含むアイテム画像群を一覧表示して、任意のアイテム画像の選択と所望の位置への配置を開発者等に行わせることで、画面データを作成させる。   The above-described processing is a specific example related to the second embodiment, and is not limited to this example. For example, in the support device 5, the part image may be cut out from each whole screen image, and a new item image may be generated / registered based on the clipped image. In this case, the screen data creation support function itself is the same as the conventional one, and the item image group including the new item image is displayed in a list, and an arbitrary item image can be selected and arranged at a desired position to a developer or the like. By doing this, screen data is created.

この様に、実施例2は、特に既存のシステムに本手法を適用する場合に、プログラマブル表示器についてはそのまま使える点でメリットがある。また、支援装置5において、画面データ作成作業や、新規アイテム画像の生成・登録作業の作業負担を軽減することができる。   As described above, the second embodiment is advantageous in that the programmable display can be used as it is, particularly when the present method is applied to an existing system. Further, the support device 5 can reduce the work load of screen data creation work and new item image generation / registration work.

尚、上記実施例2における支援装置5の処理も、支援装置5における上記不図示の記憶部に予め記憶されているアニメーションプログラムを、上記不図示のCPUが実行することにより実現される。   Note that the processing of the support device 5 in the second embodiment is also realized by the CPU (not shown) executing an animation program stored in advance in the storage unit (not shown) of the support device 5.

ここで、実施例1、実施例2それぞれのプログラマブル表示器1と支援装置5の機能ブロック図を示す。
図14は、実施例1のプログラマブル表示器1と支援装置5の機能ブロック図である。
Here, functional block diagrams of the programmable display device 1 and the support device 5 of the first embodiment and the second embodiment are shown.
FIG. 14 is a functional block diagram of the programmable display device 1 and the support device 5 according to the first embodiment.

図示の例では、支援装置5は、スクリーン全体画像を記憶するスクリーン全体画像記憶部101と、画面データ生成支援部102を有する。画面データ生成支援部102は、各アイテム毎に上記スクリーン全体画像上の任意の領域を指定させることで、少なくとも該各アイテム毎の指定領域情報を含む画面データを生成する。   In the example shown in the figure, the support device 5 includes a whole screen image storage unit 101 that stores a whole screen image, and a screen data generation support unit 102. The screen data generation support unit 102 generates screen data including at least designated area information for each item by designating an arbitrary area on the entire screen image for each item.

上記生成された画面データは、プログラマブル表示器1に記憶される。これは、例えば通信線を介してプログラマブル表示器1にダウンロードするが、この例に限らない。何らかの可搬型記録媒体に画面データを記憶して、この可搬型記録媒体をプログラマブル表示器1に接続することで、画面データをプログラマブル表示器1に記憶させる方法等であってもよい。   The generated screen data is stored in the programmable display 1. Although this is downloaded to the programmable display 1 via a communication line, for example, it is not restricted to this example. The screen data may be stored in any portable recording medium, and the portable recording medium 1 may be connected to the programmable display 1 to store the screen data in the programmable display 1.

一方、プログラマブル表示器1は、画面データ等記憶部111と、パーツ画像生成部112と、アイテム表示部113を有する。
画面データ等記憶部111は、上記支援装置5で生成された画面データと、スクリーン全体画像を記憶する。スクリーン全体画像は、予めプログラマブル表示器1に記憶しておくものであってもよいし、上記画面データと一緒に支援装置5からダウンロードされたものであってもよい。
On the other hand, the programmable display device 1 includes a screen data storage unit 111, a part image generation unit 112, and an item display unit 113.
The screen data storage unit 111 stores the screen data generated by the support device 5 and the entire screen image. The entire screen image may be stored in advance in the programmable display 1 or may be downloaded from the support device 5 together with the screen data.

パーツ画像生成部112は、各アイテム毎に、上画面データの指定領域情報に基づいて、スクリーン全体画像からそのアイテムに係る指定領域部分を切り出してパーツ画像を生成する。アイテム表示部113は、各アイテム毎に、パーツ画像生成部112で生成されたパーツ画像を、指定領域情報が示す位置に表示する(操作表示画面を表示する)。これは、例えば随時または定期的に(パーツ画像生成部112でパーツ画面が生成される毎に)、生成されたパーツ画面に基づく操作表示画面の表示を実行するものである。   For each item, the part image generation unit 112 generates a part image by cutting out the specified area portion related to the item from the entire screen image based on the specified area information of the upper screen data. The item display unit 113 displays, for each item, the part image generated by the part image generation unit 112 at a position indicated by the designated area information (displays an operation display screen). For example, the operation display screen is displayed based on the generated parts screen, for example, at any time or periodically (every time a parts screen is generated by the parts image generation unit 112).

また、例えば、上記スクリーン全体画像は、各状態に応じて複数種類が、スクリーン全体画像記憶部101や画面データ等記憶部111に記憶される。例えば一例としては、ON用のスクリーン全体画像と、OFF用のスクリーン全体画像、記憶されている。そして、上記パーツ画像生成部112は、各アイテム毎に、そのアイテムに係わる現在の状態に応じた種類のスクリーン全体画像から、パーツ画像を生成する。例えば現在の状態がスイッチON状態であれば、ON用のスクリーン全体画像からパーツ画像を生成する。同様に、現在の状態がスイッチOFF状態であれば、OFF用のスクリーン全体画像からパーツ画像を生成する。 Further, for example, a plurality of types of the whole screen image are stored in the whole screen image storage unit 101 or the screen data storage unit 111 according to each state. For example, an entire screen image for ON and an entire screen image for OFF are stored as an example. Then, the part image generation unit 112 generates a part image for each item from the entire screen image of the type corresponding to the current state related to the item. For example, if the current state is the switch ON state, a part image is generated from the entire screen image for ON. Similarly, if the current state is the switch OFF state, a part image is generated from the entire screen image for OFF.

また、プログラマブル表示器1は、画面データ等記憶部111に記憶される任意のデザインのスクリーン全体画像を、他のデザインのスクリーン全体画像に変更する全体画像変更部114を更に有するものであってもよい。これは、単に、画面データ等記憶部111に記憶されるスクリーン全体画像を、他のデザインのものに差し替えるものであってよい。この場合、上記パーツ画像生成部112は、上記変更後は、上記他のデザインのスクリーン全体画像からパーツ画像を生成することになる。よって、アイテム表示部113によって表示される操作表示画面は、デザイン変更された画面となる。 Further, the programmable display 1 may further include an entire image changing unit 114 that changes an entire screen image of an arbitrary design stored in the screen data storage unit 111 to an entire screen image of another design. Good. This may simply replace the entire screen image stored in the screen data storage unit 111 with another design. In this case, after the change, the part image generation unit 112 generates a part image from the entire screen image of the other design. Therefore, the operation display screen displayed by the item display unit 113 is a screen whose design has been changed.

尚、上記パーツ画像生成部112による各種パーツ画像生成処理を、予め実行するようにし、生成したパーツ画像(ON用とOFF用)を記憶しておくようにしてもよい。この場合、その後のプログラマブル表示器1の処理は、実施例2と略同様であってよい。尚、この場合、生成したパーツ画像に対してユニークな識別IDを割り当てて、この識別IDを上記OFF画像No.66とON画像No.67に上書き格納する。つまり、この場合、OFF画像No.66とON画像No.67に関しては、プログラマブル表示器1側で、スクリーン全体画像の識別用IDが格納された状態からパーツ画像の識別IDが格納された状態へと変更されることになる。   Note that various parts image generation processing by the part image generation unit 112 may be executed in advance, and the generated part images (ON and OFF) may be stored. In this case, the subsequent processing of the programmable display device 1 may be substantially the same as in the second embodiment. In this case, a unique identification ID is assigned to the generated part image, and this identification ID is assigned to the OFF image No. 66 and ON image No. 67 is overwritten and stored. That is, in this case, the OFF image No. 66 and ON image No. With respect to 67, on the programmable display 1 side, the state is changed from the state in which the identification ID of the entire screen image is stored to the state in which the identification ID of the part image is stored.

図15は、実施例2のプログラマブル表示器1と支援装置5の機能ブロック図である。
実施例2の支援装置5は、スクリーン全体画像を記憶するスクリーン全体画像記憶部121と、パーツ画像生成部122と、画面データ生成支援部123を有する。
FIG. 15 is a functional block diagram of the programmable display device 1 and the support device 5 according to the second embodiment.
The support device 5 according to the second embodiment includes an entire screen image storage unit 121 that stores an entire screen image, a part image generation unit 122, and a screen data generation support unit 123.

パーツ画像生成部122は、各アイテム毎に、スクリーン全体画像上の任意の領域を指定させ、該スクリーン全体画像から該指定領域部分を切り出してパーツ画像を生成する。そして、画面データ生成支援部123は、各アイテム毎のパーツ画像(画像自体あるいはパーツ画像の識別ID等)と上記指定領域の位置情報(座標や大きさ等)を含む画面データを生成する。   The part image generation unit 122 designates an arbitrary area on the entire screen image for each item, and generates a part image by cutting out the designated area portion from the entire screen image. Then, the screen data generation support unit 123 generates screen data including a part image (image itself or identification ID of the part image) for each item and position information (coordinates, size, etc.) of the designated area.

また、実施例2のプログラマブル表示器1は、上記画面データ生成支援部123で生成された画面データを記憶する画面データ記憶部131を有する。更に、画面データ記憶部131に記憶された画面データに基づいて、各アイテム毎に、そのアイテムの上記パーツ画像と上記指定領域の位置情報を用いて、そのアイテムに係る表示を行うアイテム表示部132を有する。   The programmable display device 1 according to the second embodiment includes a screen data storage unit 131 that stores the screen data generated by the screen data generation support unit 123. Furthermore, based on the screen data stored in the screen data storage unit 131, for each item, the item display unit 132 that displays the item using the part image of the item and the position information of the designated area. Have

尚、実施例2の場合、プログラマブル表示器1における処理動作自体は、従来と略同様と見做してよい。従来の支援装置ではユーザが任意のアイテム画像を任意の位置に配置する等することで、各アイテムのアイテム画像と配置情報(位置情報)を含む画面データを生成していた。そして、従来のプログラマブル表示器では、この画面データに基づいて、各アイテム毎に、そのアイテムの上記アイテム画像と配置情報を用いて、そのアイテムに係る表示を行っていた。   In the case of the second embodiment, the processing operation itself in the programmable display device 1 may be regarded as substantially the same as the conventional one. In the conventional support device, the user arranges an arbitrary item image at an arbitrary position, etc., thereby generating screen data including the item image and arrangement information (position information) of each item. And in the conventional programmable display, based on this screen data, the display which concerns on the item was performed for every item using the said item image and arrangement | positioning information of the item.

ここで、本手法の上記パーツ画像は、実質的に、従来のアイテム画像と略同様である(勿論、生成方法は異なる)。従って、上記の通り、実施例2の場合、プログラマブル表示器1における処理動作自体は、従来と略同様と見做してよいものである。   Here, the part image of the present method is substantially the same as the conventional item image (of course, the generation method is different). Therefore, as described above, in the case of the second embodiment, the processing operation itself in the programmable display device 1 may be regarded as substantially the same as the conventional one.

また、例えば、上記スクリーン全体画像記憶部121には、各状態に応じた複数種類のスクリーン全体画像が記憶されている。例えば、上記パーツ画像生成部122は、上記各アイテム毎に上記複数種類のスクリーン全体画像から複数種類のパーツ画像を生成する。例えば上記アイテム表示部132は、各アイテム毎に、そのアイテムに係わる現在の状態に応じた種類のパーツ画像を用いた表示を行う。例えばスイッチを例にすると、スイッチON用とスイッチOFF用の各種パーツ画像が生成されており、現在の状態がスイッチONであればスイッチON用のパーツ画像を用いた表示を行う。   Further, for example, the screen whole image storage unit 121 stores a plurality of types of screen whole images corresponding to the respective states. For example, the part image generation unit 122 generates a plurality of types of part images from the plurality of types of entire screen images for each item. For example, the item display unit 132 displays for each item using a part image of a type corresponding to the current state related to the item. For example, taking a switch as an example, various part images for switch ON and switch OFF are generated. If the current state is the switch ON, display using the part image for switch ON is performed.

また、例えば、実施例2の支援装置5は、上記スクリーン全体画像記憶部121に記憶される任意のデザインのスクリーン全体画像を、他のデザインのスクリーン全体画像に変更する第2の全体画像変更部124を更に有するものであってもよい。これによって、画面データ生成支援部123は、デザイン変更後は、上記他のデザインのスクリーン全体画像からパーツ画像を生成することになる。そして、例えば、このパーツ画像を含む画面データをプログラマブル表示器1にダウンロードして記憶させる。これによって、プログラマブル表示器1側では、デザイン変更後のパーツ画像を用いて操作表示画面を表示することになり、以って操作表示画面がデザイン変更されることになる。   Further, for example, the support device 5 according to the second embodiment includes a second whole image changing unit that changes a whole screen image of an arbitrary design stored in the whole screen image storage unit 121 to a whole screen image of another design. 124 may be further included. As a result, the screen data generation support unit 123 generates a part image from the entire screen image of the other design after the design change. Then, for example, screen data including this part image is downloaded and stored in the programmable display 1. Thereby, on the programmable display 1 side, the operation display screen is displayed using the part image after the design change, and thus the design of the operation display screen is changed.

尚、上記第2の全体画像変更部124は、単に、スクリーン全体画像記憶部121に上記他のデザインのスクリーン全体画像と追加記憶させるものであってもよい。勿論、他のデザインのスクリーン全体画像にも画像識別用のIDが割り当てられている。   Note that the second whole image changing unit 124 may simply store additional whole screen images of the other designs in the whole screen image storage unit 121. Of course, an image identification ID is also assigned to the entire screen image of another design.

その後は、支援装置5の上記エディタ機能によって、ユーザに対して、上記任意のデザイン(旧デザイン)のスクリーン全体画像だけでなく上記他のデザイン(新デザイン)のスクリーン全体画像も提示して、ユーザに所望のデザインを選択させる。これによって、ユーザが新デザインのスクリーン全体画像を選択した場合には、上記のように、新デザインに応じたパーツ画像が生成されることになり、このパーツ画像がプログラマブル表示器1側での操作表示画面の表示に使用されることになる。   After that, the editor function of the support device 5 presents not only the entire screen image of the arbitrary design (old design) but also the entire screen image of the other design (new design) to the user. To select the desired design. As a result, when the user selects the entire screen image of the new design, a part image corresponding to the new design is generated as described above, and this part image is operated on the programmable display 1 side. It will be used to display the display screen.

尚、図14、図15に示す各種機能部は、プログラマブル表示器1の場合には上記CPU11が上記ROM12に予め記憶されている所定のプログラムを実行することにより実現される。また、支援装置5の場合には上記不図示のCPU等が上記不図示の記憶部に予め記憶されている所定のプログラムを実行することにより実現される。   In the case of the programmable display 1, the various functional units shown in FIGS. 14 and 15 are realized by the CPU 11 executing predetermined programs stored in the ROM 12 in advance. Further, in the case of the support device 5, the CPU (not shown) or the like is realized by executing a predetermined program stored in advance in the storage unit (not shown).

最後に、図16に、各スクリーン全体画像からのパーツ画像切り出しのイメージを示す。
上述した説明では、各デザイン毎に、スクリーン全体画像はON用とOFF用の2種類ある例を用いたが、この様な例に限るものではない。プログラマブル表示器1における表示形態として、ON状態とOFF状態以外に“P2”と呼ばれるものがある。このP2については特に説明しない(要は、2種類に限らず、3種類以上の場合もあるということである)。
Finally, FIG. 16 shows an image of cutting out part images from the entire screen images.
In the above description, an example in which there are two types of on-screen and off-screen images for each design is used. However, the present invention is not limited to such an example. As a display form in the programmable display 1, there is a display form called “P2” other than the ON state and the OFF state. This P2 will not be described in particular (in short, it is not limited to two types but may be three or more types).

この例の場合、例えば図4においてユーザが任意のアイテムに係わる領域を指定すると、上記3種類のスクリーン全体画像からそれぞれ上記パーツ画像が切り出されて、図示の3種類のパーツ画像(P2画像、ON画像、OFF画像)が生成されることになる。また、この例の場合に生成される画面データ(アイテムリスト56)は、例えば図9(a)の例において、図示のOFF画像N.66、ON画像N.67だけでなく、不図示のP2画像No.も加わることになる。そして、プログラマブル表示器1において運用中に、任意のアイテムに関して現状がP2の状態であると判定された場合には、不図示のP2画像No.に対応するスクリーン全体画像からパーツ画像を切り出して表示することになる。 In the case of this example, for example, when the user designates an area related to an arbitrary item in FIG. 4, the part images are cut out from the three types of whole screen images, and the three types of part images shown in the figure (P2 image, ON Image, OFF image) is generated. Further, the screen data (item list 56) generated in the case of this example, for example, in the example of FIG. 9 (a), the illustrated OFF image N o. 66, ON image N o . 67 as well as a P2 image No. (not shown). Will also be added. When it is determined that the current status is P2 regarding an arbitrary item during operation in the programmable display device 1, a P2 image No. (not shown) is displayed. A part image is cut out and displayed from the entire screen image corresponding to.

Claims (4)

プログラマブル表示器と支援装置を有するプログラマブルコントローラシステムにおける該プログラマブル表示器であって、
前記支援装置においてスクリーン全体画像に基づいて作成された画面データと、該スクリーン全体画像を記憶する画面データ等記憶手段と、
各アイテム毎に、前記画面データの指定領域情報に基づいて、前記スクリーン全体画像から該指定領域部分を切り出してパーツ画像を生成するパーツ画像生成手段と、
該生成されるパーツ画像を用いてそのアイテムに係る表示を行うアイテム表示手段と、
を有することを特徴とするプログラマブル表示器。
The programmable display in a programmable controller system having a programmable display and a support device,
Screen data created based on the entire screen image in the support device, storage means such as screen data for storing the entire screen image,
For each item, based on the specified area information of the screen data, a part image generating means for generating a part image by cutting out the specified area portion from the entire screen image;
Item display means for performing display related to the item using the generated part image;
A programmable display device comprising:
プログラマブル表示器と支援装置を有するプログラマブルコントローラシステムにおける該プログラマブル表示器であって、
前記支援装置においてスクリーン全体画像に基づいて生成された各アイテム毎のパーツ画像と位置情報を含む画面データを記憶する画面データ記憶手段と、
前記画面データに基づいて、各アイテム毎に、そのアイテムの前記パーツ画像と位置情報を用いて、そのアイテムに係る表示を行うアイテム表示手段と、
を有することを特徴とするプログラマブル表示器。
The programmable display in a programmable controller system having a programmable display and a support device,
Screen data storage means for storing screen data including part images and position information for each item generated based on the entire screen image in the support device;
Based on the screen data, for each item, using the part image and position information of the item, item display means for performing display related to the item,
A programmable display device comprising:
プログラマブル表示器と支援装置を有するプログラマブルコントローラシステムにおける該プログラマブル表示器のコンピュータを、
前記支援装置においてスクリーン全体画像に基づいて作成された画面データと、該スクリーン全体画像を記憶する画面データ等記憶手段と、
各アイテム毎に、前記画面データの指定領域情報に基づいて、前記スクリーン全体画像から該指定領域部分を切り出してパーツ画像を生成するパーツ画像生成手段と、
該生成されるパーツ画像を用いてそのアイテムに係る表示を行うアイテム表示手段、
として機能させる為のプログラム。
A computer of the programmable display in a programmable controller system having a programmable display and a support device,
Screen data created based on the entire screen image in the support device, storage means such as screen data for storing the entire screen image,
For each item, based on the specified area information of the screen data, a part image generating means for generating a part image by cutting out the specified area portion from the entire screen image;
Item display means for performing display related to the item using the generated part image,
Program to function as.
プログラマブル表示器と支援装置を有するプログラマブルコントローラシステムにおける該プログラマブル表示器のコンピュータを、
前記支援装置においてスクリーン全体画像に基づいて生成された各アイテム毎のパーツ画像と位置情報を含む画面データを記憶する画面データ記憶手段と、
前記画面データに基づいて、各アイテム毎に、そのアイテムの前記パーツ画像と位置情報を用いて、そのアイテムに係る表示を行うアイテム表示手段、
として機能させる為のプログラム。
A computer of the programmable display in a programmable controller system having a programmable display and a support device,
Screen data storage means for storing screen data including part images and position information for each item generated based on the entire screen image in the support device;
Based on the screen data, for each item, using the part image and position information of the item, item display means for displaying the item,
Program to function as.
JP2016164937A 2016-08-25 2016-08-25 Programmable display, program Active JP6207694B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016164937A JP6207694B2 (en) 2016-08-25 2016-08-25 Programmable display, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016164937A JP6207694B2 (en) 2016-08-25 2016-08-25 Programmable display, program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015181730A Division JP6095743B2 (en) 2015-09-15 2015-09-15 Support device, program

Publications (2)

Publication Number Publication Date
JP2016212916A JP2016212916A (en) 2016-12-15
JP6207694B2 true JP6207694B2 (en) 2017-10-04

Family

ID=57551973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016164937A Active JP6207694B2 (en) 2016-08-25 2016-08-25 Programmable display, program

Country Status (1)

Country Link
JP (1) JP6207694B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7469854B2 (en) 2019-05-20 2024-04-17 シュナイダーエレクトリックホールディングス株式会社 Screen creation device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4298631B2 (en) * 2004-11-05 2009-07-22 株式会社デジタル Display device for control, program thereof and recording medium
JP5492525B2 (en) * 2009-10-26 2014-05-14 発紘電機株式会社 Display / control system, its programmable display, drawing editor, program
JP5552300B2 (en) * 2009-11-16 2014-07-16 発紘電機株式会社 Sequence control apparatus, method, and program for connected device simulator

Also Published As

Publication number Publication date
JP2016212916A (en) 2016-12-15

Similar Documents

Publication Publication Date Title
JP6006399B2 (en) Programmable display, its program
JP5806061B2 (en) Programmable display support device, program thereof, and operation screen batch change support method
JP2014032529A (en) Plc system, drawing editor device thereof, and programmable display
JP5883936B2 (en) Programmable controller system
CN110546605B (en) Program development support device, program development support method, and storage medium
JP6207694B2 (en) Programmable display, program
JP6095743B2 (en) Support device, program
CN109074324B (en) Programmable display, terminal device and control system
WO2015063847A1 (en) Programmable display apparatus and program
JP6033394B2 (en) Programmable display, its program
JP7056078B2 (en) Document processing device and document processing program
TWI582555B (en) A programmable controller system, a programmable display, a support device, a program
JP5883953B2 (en) Programmable controller system, its programmable display, drawing editor device, program
US11704126B2 (en) Non-transitory recording medium having computer-readable program recorded thereon, server apparatus, function graph display control apparatus, and function graph display control method
JP2009169548A (en) Information processor, its multi-window display method and program
JP7466123B2 (en) Computer program, server device, terminal device, program generation method, and method
US9727214B2 (en) Electronic apparatus and object processing method thereof
JP2016162385A (en) Procedure information display device, procedure information display method and program
JP6063153B2 (en) Information processing apparatus, information processing method, and program
KR20240005378A (en) Application providing interior design and operating method of electronic device in which the application is executed
JP2020204985A (en) Computer program, server device, terminal device, program generation method, and method
JP2015079398A (en) Drawing editor device, program for the same
JP6261218B2 (en) Display processing device, display processing method and program, and image classification device
JPH05150932A (en) Computer device with icon display functi0n
JPH047633A (en) Information processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170721

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170815

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170905

R150 Certificate of patent or registration of utility model

Ref document number: 6207694

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250