JP6033394B2 - Programmable display, its program - Google Patents

Programmable display, its program Download PDF

Info

Publication number
JP6033394B2
JP6033394B2 JP2015501186A JP2015501186A JP6033394B2 JP 6033394 B2 JP6033394 B2 JP 6033394B2 JP 2015501186 A JP2015501186 A JP 2015501186A JP 2015501186 A JP2015501186 A JP 2015501186A JP 6033394 B2 JP6033394 B2 JP 6033394B2
Authority
JP
Japan
Prior art keywords
screen
data
item
switching
memory
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
JP2015501186A
Other languages
Japanese (ja)
Other versions
JPWO2014128918A1 (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
Application granted granted Critical
Publication of JP6033394B2 publication Critical patent/JP6033394B2/en
Publication of JPWO2014128918A1 publication Critical patent/JPWO2014128918A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/005Adapting incoming signals to the display format of the display terminal
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/14Solving problems related to the presentation of information to be displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/127Updating a frame memory using a transfer of data from a source area to a destination area

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Programmable Controllers (AREA)
  • Digital Computer Display Output (AREA)

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. .

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

上記各アイテム(画面部品)は、例えば、それぞれが任意の接続機器の任意の構成要素に対応して、当該構成要素の状態表示を行ったり、当該構成要素のON/OFFの指示を受け付けるものである。例えば、温調装置の温度測定値を数値表示するアイテムの場合、随時、現在の温度を数値で表示することになる。あるいは、温調装置のON/OFF状態を示すランプのアイテムであれば、温調装置がON状態であればランプ点灯、OFF状態であればランプ消灯が、表示されることになる。   Each of the items (screen parts) is, for example, a status display of the component corresponding to an arbitrary component of an arbitrary connected device, or receiving an ON / OFF instruction for the component. is there. 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. Or if it is the item of the lamp | ramp which shows the ON / OFF state of a temperature control apparatus, lamp lighting will be displayed if a temperature control apparatus is an ON state, and lamp OFF will be displayed if it is an OFF state.

尚、支援装置においては、予めアイテム画像としてランプ点灯画像とランプ消灯画像が登録されており、上記画面データには1つのランプアイテムについてランプ点灯画像とランプ消灯画像が含まれることになる。勿論、これは、ランプの場合に限るものではなく、他のアイテム種別(例えばスイッチ等)についても同様である。   In the support device, a lamp-on image and a lamp-off image are registered in advance as item images, and the screen data includes a lamp-on image and a lamp-off image for one lamp item. Of course, this is not limited to the case of lamps, and the same applies to other item types (for example, switches).

上記各種アイテムに係る表示制御は、上記各アイテム毎に、例えば定期的に所定の処理を実行することで実現される。所定の処理とは、例えば、接続機器内のメモリデバイス(外部メモリとする)の所定領域の格納データ(割当メモリ領域の格納データ)を読出して、この格納データに基づいてアイテムの表示内容を決定・表示する処理(表示内容リフレッシュ処理)等である。尚、接続機器は、随時、上記外部メモリの所定領域の格納データを更新している(例えば上記温調装置において上記温度測定値を随時更新している)。   The display control related to the various items is realized, for example, by periodically executing a predetermined process for each item. Predetermined processing refers to, for example, reading stored data (stored data in an allocated memory area) in a predetermined area of a memory device (external memory) in a connected device, and determining the display content of an item based on this stored data Processing to display (display content refresh processing) and the like. 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).

また、上記割当メモリ領域から読出したデータを、プログラマブル表示器内のメモリデバイス(共有メモリとする)の所定領域に一時的に格納して、この格納データに基づいてアイテムの表示内容を決定・表示する構成もある。   The data read from the allocated memory area is temporarily stored in a predetermined area of a memory device (shared 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 to do.

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

また、従来より、上記画面データは、通常、複数のスクリーン(画面)より構成されるものである。各スクリーンは、基本的に、1以上の画面部品(アイテム)より構成されると共に、他のスクリーンへ切り替える為の専用の切替ボタン(スクリーン切替スイッチ)が表示されるものである。スクリーン切替スイッチには、切替先のスクリーンの識別ID等が割り当てられている。   Conventionally, the screen data is usually composed of a plurality of screens (screens). Each screen is basically composed of one or more screen components (items), and displays a dedicated switching button (screen switching switch) for switching to another screen. The screen changeover switch is assigned an identification ID of the screen to be changed over.

この様なスクリーン切替に関して、例えば特許文献1に記載の従来技術が知られている。
特許文献1の発明は、プログラマブル表示器に関して、リソース使用の無駄をなくし処理負荷を低く抑えて、画面切り換えの時間を削減することを目的とする。
For such screen switching, for example, a conventional technique described in Patent Document 1 is known.
The invention of Patent Document 1 aims to reduce screen switching time by eliminating wasteful use of resources and keeping processing load low for a programmable display.

その為に、特許文献1の発明では、画面切換ボタンの押下が検出されると、該押下された画面切換ボタンに対応付けられた画面を構成するデータを特定する情報を次画面用の読出データ情報として登録し、該画面切換ボタンの解放が検出されると、次画面用の読出データ情報に基づいて制御対象から読み出したデータを表示画面上に表示する現在画面用の読出データに置き換える。
特開2008−191986号公報
For this purpose, in the invention of Patent Document 1, when pressing of the screen switching button is detected, information for specifying data constituting the screen associated with the pressed screen switching button is used as read data for the next screen. When it is registered as information and the release of the screen switching button is detected, the data read from the control object is replaced with the read data for the current screen displayed on the display screen based on the read data information for the next screen.
Japanese Patent Laid-Open No. 2008-191986

プログラマブル表示器において、スクリーン切替えが行われる場合、切替先のスクリーン上の各アイテムの表示内容が、現在の上記割当メモリ領域の格納データの内容を反映さえたものである必要がある。逆に言えば、切替先のスクリーン上の各アイテムの割当メモリ領域の格納データを取得しないと、実質的に、切替先のスクリーンを表示できないことになる。   When the screen is switched in the programmable display, it is necessary that the display contents of each item on the screen to be switched reflect the contents of the current stored data in the allocated memory area. In other words, unless the data stored in the allocated memory area of each item on the switching destination screen is acquired, the switching destination screen cannot be substantially displayed.

これに対して、例えば一旦、任意のデフォルト画像(例えば全アイテムがOFF)を用いて仮の切替先のスクリーンを表示させるようにした場合、当然、これは各アイテムに係わる現状を反映させた表示ではないので、問題となる。例えば、上記温調装置のON/OFF状態を示すランプのアイテムの場合、実際には温調装置はON状態であるにも係らず(デフォルト画像である)ランプ消灯画像が表示されるケースも考えられる。勿論、ある程度時間が経過すれば、上記割当メモリ領域の格納データを取得できるので、正常な状態のスクリーン表示が行われることになるが、最初の表示を見てユーザが温調装置がOFF状態であると誤解することは問題である。   On the other hand, for example, when a temporary switching destination screen is displayed using an arbitrary default image (for example, all items are OFF), this is naturally a display reflecting the current state of each item. This is not a problem. For example, in the case of an item of a lamp indicating the ON / OFF state of the temperature control device, there may be a case where a lamp extinction image (which is a default image) is displayed even though the temperature control device is actually ON. It is done. Of course, after a certain amount of time has passed, the stored data in the allocated memory area can be acquired, so that a normal screen display is performed. However, the user sees the initial display and the temperature control device is in the OFF state. It is a problem to misunderstand that there is.

この為、従来では、上記割当メモリ領域の格納データを取得してから切替先のスクリーンを表示させていた。ここで、通常、割当メモリ領域へのアクセス処理は、時間が掛かるものである。よって、切替先のスクリーンが表示されるまでに時間が掛かっていた。   For this reason, conventionally, after the storage data of the allocated memory area is acquired, the switching destination screen is displayed. Here, the access processing to the allocated memory area usually takes time. Therefore, it takes time until the switching destination screen is displayed.

上記の理由で、従来では、スクリーン切替えに時間が掛かっていた。
上記特許文献1の発明では、画面切換ボタンの押下が検出された段階でスクリーン切替の為の処理を開始するので、その従来技術(画面切換ボタンの解放が検出された段階でスクリーン切替の為の処理を開始する)に比べれば、スクリーン切替が早くなる。
For the reasons described above, conventionally, screen switching has taken time.
In the invention of the above-mentioned patent document 1, since the process for switching the screen is started when the pressing of the screen switching button is detected, the conventional technique (for switching the screen when the release of the screen switching button is detected). Compared to (start processing), screen switching is faster.

しかしながら、引用文献1の発明では、結局、画面切換ボタンが操作されてから処理を開始することになる。通常、上記割当メモリ領域の格納データを読出す処理は、時間が掛かるものであり、特に切替先のスクリーン上に多数のアイテムがある場合には、時間が掛かることになる。この為、上記特許文献1の手法では、画面切換ボタンの操作によって即座にスクリーン切替えが行われるようにすることを実現させるには、未だ不十分である。   However, according to the invention of Cited Document 1, the process starts after the screen switching button is operated. Usually, the process of reading the stored data in the allocated memory area takes time, and particularly when there are a large number of items on the screen to be switched to, it takes time. For this reason, the method of Patent Document 1 is still insufficient to realize that the screen is switched immediately by the operation of the screen switching button.

本発明の課題は、プログラマブル表示器におけるスクリーン切替えを、迅速に行えるようにできるプログラマブル表示器、そのプログラム等を提供することである。
本発明は、プログラマブル表示器において例えば下記の各手段を有する。
・ 表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第1内部メモリに格納する第1データ取得手段;
・ 前記第1内部メモリの格納データに基づいて前記表示中のスクリーンに係わる画面表示/更新を行う画面表示手段;
・ 他のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第2内部メモリに格納する第2データ取得手段;
・ 前記任意のスクリーンから前記他のスクリーンへの切替指示があると、前記第2内部メモリの格納データを用いて前記他のスクリーンへの切替えを行うスクリーン切替処理手段;
The subject of this invention is providing the programmable display which can perform screen switching in a programmable display rapidly, its program, etc.
The present invention includes, for example, the following units in a programmable display.
First data acquisition means for acquiring data from an external memory associated with each item on an arbitrary screen being displayed and storing the acquired data in a first internal memory;
Screen display means for displaying / updating a screen related to the screen being displayed based on data stored in the first internal memory;
Second data acquisition means for acquiring data from an external memory associated with each item on another screen and storing the acquired data in a second internal memory;
Screen switching processing means for switching to the other screen using data stored in the second internal memory when there is an instruction to switch from the arbitrary screen to the other screen;

本例のプログラマブル表示器を含むシステム全体の概略構成図である。It is a schematic block diagram of the whole system containing the programmable display of this example. 本例のプログラマブル表示器のハードウェア構成例である。It is a hardware structural example of the programmable display of this example. 本システムのソフトウェア構成図である。It is a software block diagram of this system. 本例のプログラマブル表示器の機能ブロック図である。It is a functional block diagram of the programmable display of this example. 本例のプログラマブル表示器の概略的な動作例を示すフローチャート図である。It is a flowchart figure which shows the schematic operation example of the programmable display of this example. 図5のステップS2の処理の詳細例を示すフローチャート図である。It is a flowchart figure which shows the detailed example of the process of step S2 of FIG. 複数のスクリーンの関連付け情報の一例である。It is an example of the association information of a plurality of screens. 本例のプログラマブル表示器の構成・処理機能図である。It is a structure and processing function figure of the programmable display of this example. (a)〜(d)は、共有メモリのデータ構造例/データ格納例等である。(A) to (d) are a data structure example / data storage example of the shared memory. (a)、(b)は、アイテムリストのデータ構造例等である。(A), (b) is an example of the data structure of an item list. (a)はメモリリスト、(b)はメモリ情報のデータ構造例である。(a) is a memory list, (b) is a data structure example of memory information. スクリーン切替前後の各アイテムの様子を示す図である。It is a figure which shows the mode of each item before and after screen switching. 通信処理部の処理フローチャート図(1/4)である。It is a process flowchart figure (1/4) of a communication processing part. 通信処理部の処理フローチャート図(2/4)である。It is a processing flowchart figure (2/4) of a communication processing part. 通信処理部の処理フローチャート図(3/4)である。It is a processing flowchart figure (3/4) of a communication processing part. 通信処理部の処理フローチャート図(4/4)である。It is a processing flowchart figure (4/4) of a communication processing part. アイテム処理部の処理フローチャート図である。It is a process flowchart figure of an item process part. 各処理部の処理時間の一例を示す図である。It is a figure which shows an example of the processing time of each process part.

以下、図面を参照して本発明の実施の形態について説明する。
図1は、本例のプログラマブル表示器1を含むシステム全体の概略構成図である。
尚、図1に示す構成は、一例であり、この例に限らない。例えば、必ずしもプログラマブル表示器1が通信ライン3を介して作画エディタ装置5に接続された構成でなくてもよい。プログラマブル表示器1と作画エディタ装置5とが別々に存在していてもよい。プログラマブル表示器1が、本手法による画面データを格納して、この画面データを用いてプログラマブル表示器用の画面の表示等を行うものであれば、何でも良い。
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 1 of this example.
The configuration shown in FIG. 1 is an example, and the present invention is not limited to this example. For example, the configuration in which the programmable display device 1 is not necessarily connected to the drawing editor device 5 via the communication line 3 may be used. The programmable display 1 and the drawing editor device 5 may exist separately. Any device may be used as long as the programmable display 1 stores screen data according to the present method and displays the screen for the programmable display using the screen data.

図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5に接続された構成となっている。プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。   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. Further, the programmable display device 1 is connected to the drawing editor device 5 via the communication line 3. 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で表示させる為のデータ等(画面データ)を、ユーザが任意に作成できるように支援する機能を有する。従来では、予め各種アイテム画像が用意されており、ユーザは所望のアイテム画像を選択して所望の位置に配置させる作業を繰り返して、上記画面データ作成を行う。   The drawing editor device 5 corresponds to the support device in the background art, and supports the user to arbitrarily create data (screen data) for displaying the operation display screen on the programmable display 1. It has the function to do. Conventionally, various item images are prepared in advance, and the user repeats the operation of selecting a desired item image and placing it at a desired position, thereby creating the screen data.

この画面データは、上記のように、複数のスクリーンより成るものであり、各スクリーン上には任意の1以上のアイテムが配置される。そして、この様なアイテムの1つとして、他のスクリーンへの切替スイッチが存在している。この切替スイッチに係る情報として、当然、切替先のスクリーンの識別情報(スクリーンNo.)などが含まれていることになる。尚、この点自体は、従来と略同様であってよい。   This screen data is composed of a plurality of screens as described above, and one or more arbitrary items are arranged on each screen. As one of such items, there is a switch for switching to another screen. As a matter of course, information relating to the changeover switch includes identification information (screen No.) of the screen to be changed over. This point itself may be substantially the same as the conventional one.

但し、従来では、この切替スイッチが操作されると、“スクリーン切替えの為に必要なデータを取得する為の処理”として上記“切替先スクリーンの各アイテムの割当メモリ領域へのアクセス”を行っていたが、本手法では基本的にはスクリーン切替時に割当メモリ領域へのアクセスを行わなくて済む(但し、100%ではない)。勿論、スクリーン切替え後には、随時、割当メモリ領域へのアクセス(外部メモリアクセス)による上記表示内容リフレッシュ処理を行う必要はある。詳しくは後述する。   However, conventionally, when this changeover switch is operated, the above-mentioned “access to the allocated memory area of each item of the switching destination screen” is performed as “processing for acquiring data necessary for screen switching”. However, in this method, basically, it is not necessary to access the allocated memory area when the screen is switched (however, it is not 100%). Of course, after the screen is switched, it is necessary to perform the display content refresh process by accessing the allocated memory area (external memory access) at any time. Details will be described later.

作画エディタ装置5は、プログラマブル表示器用の画面(画面データ)の作成を支援するための支援装置の一例と見做してよい。これより、支援装置5と記す場合もあるものとする。   The drawing editor device 5 may be regarded as an example of a support device for supporting creation of a screen (screen data) for a programmable display. Henceforth, it may be described as the support device 5.

上記画面データは、プログラマブル表示器1にダウンロードされる。
プログラマブル表示器1は、従来と同様に、画面データを構成する複数のスクリーンのうちの任意のスクリーンの表示を行う。尚、各スクリーン上には、そのスクリーンに係るアイテム表示が行われると共に、上記スクリーン切替用のスイッチも表示される。また、任意のスクリーン表示中には、例えば定期的に、上記表示内容リフレッシュ処理を行う。その為に、表示中のスクリーン上の各アイテムに係わる上記割当メモリ領域へのアクセスを行って、直近のデータを取得して、この直近のデータによりスクリーンの表示を行う。
The screen data is downloaded to the programmable display 1.
The programmable display 1 displays an arbitrary screen among a plurality of screens constituting screen data, as in the conventional case. On each screen, the item related to the screen is displayed and the switch for switching the screen is also displayed. Further, during the arbitrary screen display, for example, the display content refreshing process is periodically performed. For this purpose, the allocated memory area related to each item on the screen being displayed is accessed, the latest data is acquired, and the screen is displayed using the latest data.

そして、任意のスクリーン表示中に、上記スクリーン切替スイッチが操作されると、このスイッチに対応する所定の他のスクリーンへと切替表示される。その際、上記のように、切替先となる他のスクリーン上の各アイテムについて直近のデータを得ていないと、他のスクリーンの表示が行われないことになる。   When the screen changeover switch is operated during any screen display, the screen is changed over to a predetermined other screen corresponding to the switch. At that time, as described above, if the latest data is not obtained for each item on the other screen as the switching destination, the other screen is not displayed.

その為、従来では、上記他のスクリーンへと切替表示するためには該当する割当メモリ領域にアクセス(外部メモリアクセス)する必要があったが、本手法ではその必要はなく(但し、絶対とは限らず、アクセスを要する場合もあり得る)、以って迅速にスクリーン切替が行われることになる。詳しくは後述する。   Therefore, in the past, it was necessary to access the corresponding allocated memory area (external memory access) in order to switch and display to the other screens described above, but this method is not necessary (however, absolute (There is also a case where access is not limited, and screen switching is performed quickly.) Details will be described later.

尚、作画エディタ装置5は、例えば一般的な汎用コンピュータ(パソコン等)で実現される。よって、特に図示等はしないが、一般的なパソコン等の構成を有する。すなわち、例えば、CPU等の演算プロセッサ、メモリ、ハードディスク等の記憶装置、キーボードやマウス等の操作部、ディスプレイ等の表示部、通信機能部等を有している。   The drawing editor device 5 is realized by, for example, a general general-purpose computer (such as a personal computer). Therefore, although not shown in the drawings, it has a configuration of a general personal computer or the like. That is, for example, it has an arithmetic processor such as a CPU, a storage device such as a memory and a hard disk, an operation unit such as a keyboard and a mouse, a display unit such as a display, a communication function unit, and the like.

上記記憶装置には予め所定のアプリケーションプログラムが記憶されており、上記演算プロセッサがこのアプリケーションプログラムを実行することにより、作画エディタ装置5の各種機能が実現される。尚、作画エディタ装置5の各種機能は、既に簡単に説明した既存の機能であるので、これ以上は説明しない。   A predetermined application program is stored in the storage device in advance, and various functions of the drawing editor device 5 are realized by the arithmetic processor executing the application program. The various functions of the drawing editor device 5 are the existing functions that have already been briefly described, and will not be described further.

また、プログラマブル表示器1も、ハードウェア構成自体は、一般的なものであってよい。よって、以下、図2を参照して簡単に説明する。
図2は、本例のプログラマブル表示器1のハードウェア構成例である。
The programmable display 1 may also have a general hardware configuration. Therefore, a brief description will be given below with reference to FIG.
FIG. 2 is a hardware configuration example of the programmable display device 1 of this example.

プログラマブル表示器1は、上述した従来例と略同様に上述した画面データ等に基づく各スクリーン(操作表示画面)の表示やスクリーン切替等を行う機能を有する。但し、スクリーン切替に関しては従来と異なるものであり、詳しくは後述する。   The programmable display 1 has a function of performing display of each screen (operation display screen) based on the above-described screen data and the like, screen switching, and the like in substantially the same manner as the above-described conventional example. However, screen switching is different from the conventional one, and 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の各種演算動作(処理)を行う。この処理についても、既に簡単に説明したが、後に詳細に説明するものとする。   The CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10. The CPU 11 performs various arithmetic operations (processing) of the programmable display 1 by executing a program (for example, a main body program 21 described later) stored in the ROM 12 in advance. Although this processing has already been briefly described, it will be described in detail later.

また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、本例では、画面データ22は複数の(典型的には多数の)スクリーンのデータより構成される。各スクリーン(操作表示画面)のデータは、例えば上述した画面上に配置されたスイッチ、ランプ等の各アイテムの画像や表示位置座標や大きさ等のデータや、上記割当メモリアドレス等より成る。また、更に、各スクリーン毎に、上記スクリーン切替スイッチも配置されている。尚、スクリーン切替スイッチは、アイテムの一種と見做してよく、外部メモリアクセスを行わないタイプのアイテムである。   The ROM 12 stores screen data (screen data 22 to be described later) described in the background art. As described above, in this example, the screen data 22 is composed of data of a plurality (typically a large number) of screens. The data of each screen (operation display screen) includes, for example, images of each item such as switches and lamps arranged on the screen described above, data such as display position coordinates and size, and the above-mentioned allocated memory address. Further, the screen changeover switch is also arranged for each screen. The screen changeover switch may be regarded as a kind of item, and is an item that does not perform external memory access.

ここで、上記外部メモリアクセスは、従来では、現在表示中のスクリーン上のアイテムに関してのみ実行されるものであった。しかし、本手法では、現在表示中のスクリーンだけでなく切替先候補のスクリーンに関しても上記外部メモリアクセスを実行する。そして、取得したデータをプログラマブル表示器1内の所定の記憶領域(内部バッファ等)に格納しておく。   Here, the external memory access is conventionally executed only for an item on the screen that is currently displayed. However, in this method, the external memory access is executed not only for the currently displayed screen but also for the screen of the switching destination candidate. The acquired data is stored in a predetermined storage area (such as an internal buffer) in the programmable display 1.

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

ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。ディスプレイ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. On the display 19, an arbitrary screen of a plurality of screens is displayed. Each item image is displayed at a predetermined position on each screen as described above.

また、通信コントローラ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 switch image, 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 each operation display screen (each screen, etc.) for the programmable display.

この操作表示画面は、上述した数値表示、ランプ、スイッチ等の各種アイテムの画像表示から成り、各アイテムの表示内容は、例えば各接続機器4の外部メモリの所定の記憶領域(割当メモリ領域)から取得したデータ(取得データ)を反映させる形で随時更新される。   This operation display screen is composed of the above-described numerical display, image display of various items such as lamps, switches, etc., and the display content of each item is, for example, from a predetermined storage area (allocation memory area) of the external memory of each connected device 4 Updated as needed to reflect the acquired data (acquired data).

つまり、CPU11は、本体プログラム21と画面データ22と上記取得データに基づいて、上記操作表示画面の表示制御を実行する。その際、この操作表示画面上の各アイテム(各画面部品)の表示内容は、上記取得データの内容を反映させたものとなる(温度等の数値表示やランプの点灯/消灯など)。   That is, 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. At that time, the display content of each item (each screen component) on the operation display screen reflects the content of the acquired data (numerical display such as temperature, lighting / extinguishing of the lamp, etc.).

従って、スクリーン切替の際にも、切替先のスクリーンに係る各種アイテムそれぞれについて、その割当メモリ領域の直近の(現在の/最新の)格納データを反映させる形で、表示を開始する必要がある。その為に、従来では、スクリーン切替スイッチが操作されると、まず、切替先のスクリーン上の各アイテムに対応する各割当メモリ領域にアクセスしてデータ取得する必要があり、その為の処理時間が掛かっていた。しかし、本手法では、割当メモリ領域にアクセスしなくても、その割当メモリ領域の直近の格納データを反映させる表示を行うことができる。詳しくは後述する。   Therefore, when switching the screen, it is necessary to start displaying each item related to the screen to be switched in such a manner that the latest (current / latest) stored data in the allocated memory area is reflected. For this reason, conventionally, when the screen changeover switch is operated, it is first necessary to access each allocated memory area corresponding to each item on the screen to be changed to acquire data, and the processing time for that is required. It was hanging. However, according to the present method, it is possible to display the latest stored data in the allocated memory area without reflecting the allocated memory area. Details will be described later.

上記画面データ22は、例えば予め作画エディタ装置5側で任意に作成された画面データファイル32が、プログラマブル表示器1にダウンロードされて格納されたものである。つまり、画面データ22と画面データファイル32とは実質的に同じものと見做して構わない。尚、これより、両者を特に区別せずに、例えば画面データファイル32を画面データ22と記して説明する場合もあるものとする。   The screen data 22 is, for example, a screen data file 32 arbitrarily created in advance on the drawing editor device 5 side, downloaded to the programmable display device 1 and stored. That is, the screen data 22 and the screen data file 32 may be regarded as substantially the same. Note that, for example, the screen data file 32 may be described as the screen data 22 without being particularly distinguished from each other.

また、上記通信プログラム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.

プログラマブル表示器1の通信プログラム23は、通信ライン6を介して接続機器4と通信を行うためのプログラムである。通常、接続機器4の機種毎等に固有の通信プロトコル(通信規定)を持ち、この通信規定に従って、プログラマブル表示器1−接続機器4間での通信を行う。そのため、通信プログラム23は、各接続機器4の機種毎等に開発が必要となる。尚、当然、CPU11などが通信プログラム23を実行することで、接続機器4との通信処理が実現される。   The communication program 23 of the programmable display device 1 is a program for communicating with the connection device 4 via the communication line 6. Usually, each connected device 4 has a unique communication protocol (communication rule) for each model and performs communication between the programmable display 1 and the connected device 4 in accordance with this communication rule. Therefore, the communication program 23 needs to be developed for each model of each connected device 4. Of course, the CPU 11 and the like execute the communication program 23 to realize communication processing with the connected device 4.

PLC本体等である接続機器4は、様々なメーカー・機種があり、各メーカー/機種毎に独自の通信プログラムがあり、上記通信プログラム23は、接続機器4のメーカー/機種に応じて場合によっては複数種類備えられるものとなる。   The connection device 4 such as the PLC main body has various manufacturers and models, each manufacturer / model has its own communication program, and the communication program 23 depends on the manufacturer / model of the connection device 4 depending on the case. Multiple types will be provided.

尚、プログラマブル表示器1−作画エディタ装置5間の通信は、例えば本体プログラム21と作画エディタ31とによって行う(通信機能が作画エディタ31に組み込まれている)。これについては特に関係ないので、図示・説明しない。   Communication between the programmable display 1 and the drawing editor device 5 is performed by, for example, the main body program 21 and the drawing editor 31 (a communication function is incorporated in the drawing editor 31). This is not particularly relevant and will not be shown or described.

通信プログラム23は、通常、作画エディタ装置5内の不図示のHD(ハードディスク)内に、複数の通信プログラムファイル33群(各機種毎に開発済の複数の通信プログラム)として予め記憶されている。そして、作画エディタ装置5は、作画エディタ31によりユーザが任意の接続機器4を選択・指定すると、該選択された接続機器4に応じた通信プログラムファイル33を、プログラマブル表示器1に転送して、上記通信プログラム23として記憶させる。   The communication program 23 is normally stored in advance as a plurality of communication program files 33 group (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing editor device 5. Then, when the user selects / designates an arbitrary connected device 4 using the drawing editor 31, the drawing editor device 5 transfers the communication program file 33 corresponding to the selected connected device 4 to the programmable display device 1, The communication program 23 is stored.

尚、上記割当メモリ領域へのアクセスや画面表示等の各種処理を実現させるプログラムは、例えば本体プログラム21に含まれていてもよいし、画面データファイル32(画面データ22)に含まれていてもよい。何れにしても、この様なプログラムを例えば上記CPU11が実行することで、プログラマブル表示器1の各種動作が実現されることになる。   The program for realizing various processes such as access to the allocated memory area and screen display may be included in the main body program 21 or the screen data file 32 (screen data 22). Good. In any case, when the CPU 11 executes such a program, for example, various operations of the programmable display 1 are realized.

ここで、作画エディタ装置5の作画エディタ31は、ユーザに所望の操作表示画面(その画面データ)を作成させる支援機能も有する。これは既に述べたように、予め作成済みの各種アイテムが、作画エディタ装置5のハードディスク等に記憶されている。作画エディタ31による操作表示画面の作成支援機能によって、これら各種アイテムが一覧表示されて、ユーザは所望のアイテムを選択して所望の位置に配置する。この機能自体は従来と略同様である。   Here, the drawing editor 31 of the drawing editor device 5 also has a support function that allows the user to create a desired operation display screen (screen data thereof). As described above, various items created in advance are stored in the hard disk or the like of the drawing editor device 5. These various items are displayed in a list by the creation support function of the operation display screen by the drawing editor 31, and the user selects a desired item and arranges it at a desired position. This function itself is substantially the same as the conventional one.

尚、作画エディタ装置5は、例えばパソコン等であり、特に図示しないが一般的な汎用コンピュータの構成(CPU、記憶部(ハードディスク、メモリ等)、通信部、操作部(マウス等)、ディスプレイ)を有している。記憶部に予め記憶されているアプリケーションプログラムを、CPUが実行することにより、作画エディタ31の処理機能が実現される。但し、上記の通り、作画エディタ31の処理機能自体は、従来と同様であってよいので、これ以上詳細には説明しない。   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. The processing function of the drawing editor 31 is realized when the CPU executes an application program stored in advance in the storage unit. However, as described above, the processing function itself of the drawing editor 31 may be the same as the conventional one, and will not be described in further detail.

図4は、本例のプログラマブル表示器1の機能ブロック図である。
本例のプログラマブル表示器1は、例えば図示の第1データ取得部41、画面表示部42、第2データ取得部43、スクリーン切替処理部44の各種機能部を有する。尚、これら各種機能部は、例えば上記ROM12等に予め記憶されている所定のアプリケーションプログラムを、上記CPU11が実行することにより実現される。
FIG. 4 is a functional block diagram of the programmable display 1 of this example.
The programmable display device 1 of this example has various functional units such as a first data acquisition unit 41, a screen display unit 42, a second data acquisition unit 43, and a screen switching processing unit 44 shown in the figure. These various function units are realized by the CPU 11 executing a predetermined application program stored in advance in the ROM 12 or the like, for example.

第1データ取得部41は、表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第1内部メモリ(例えば後述する共有メモリ55)に格納する。   The first data acquisition unit 41 acquires data from an external memory related to each item on an arbitrary screen being displayed, and stores the acquired data in a first internal memory (for example, a shared memory 55 described later).

画面表示部42(例えば後述するアイテム処理部53)は、上記第1内部メモリの格納データに基づいて上記表示中のスクリーンに係わる画面表示/更新を行う。
第2データ取得部43は、上記任意のスクリーンを表示中の状態で、バックグラウンドで、他のスクリーン上(例えば切替候補スクリーン上)の各アイテムに係わる外部メモリからデータを取得して、該取得データを第2内部メモリ(例えば後述する通信メモリ57)に格納する。
The screen display unit 42 (for example, an item processing unit 53 to be described later) performs screen display / update related to the screen being displayed based on the data stored in the first internal memory.
The second data acquisition unit 43 acquires data from the external memory related to each item on another screen (for example, on the switching candidate screen) in the background while the arbitrary screen is being displayed, and acquires the data. Data is stored in a second internal memory (for example, a communication memory 57 described later).

尚、上記“バックグラウンドで”とは、例えば、上記他のスクリーン(例えば切替候補スクリーン)に関しては、データ取得は行うが、(少なくとも上記任意のスクリーンを表示中は)表示は行わないという意味であるが、この例に限らない。尚、以降の説明では、逐一“バックグラウンド”とは記載しないが、例えば後述する切替候補スクリーンのメモリ先読み処理は、“バックグラウンド”で実行されるものである。   Note that “in the background” means, for example, that other screens (for example, switching candidate screens) are obtained, but are not displayed (at least while any screen is displayed). Although there is, it is not restricted to this example. In the following description, “background” will not be described one by one. However, for example, the memory prefetching process of the switching candidate screen described later is executed in “background”.

スクリーン切替処理部44は、上記任意のスクリーンから上記他のスクリーンへの切替指示があると、上記第2内部メモリの格納データを用いて上記他のスクリーンへの切替えを行う。   When there is an instruction to switch from the arbitrary screen to the other screen, the screen switching processing unit 44 performs switching to the other screen using the data stored in the second internal memory.

尚、例えば後述する通信処理部54が、例えば上記第1データ取得部41及び第2データ取得部43に相当すると見做してもよいが、この例に限らない。また、スクリーン切替処理部44の処理機能は、例えば後述する通信処理部54とアイテム生成部51のどちらか一方(あるいは両方によって)実現されるものと見做してもよいが、この例に限らない。   For example, the communication processing unit 54 described later may be regarded as corresponding to the first data acquisition unit 41 and the second data acquisition unit 43, but the present invention is not limited to this example. The processing function of the screen switching processing unit 44 may be considered to be realized by, for example, one (or both) of the communication processing unit 54 and the item generation unit 51 described later, but is not limited to this example. Absent.

また、上記スクリーン切替処理部44は、例えば上記第2内部メモリの格納データを上記第1内部メモリに格納する(例えばコピーする)。これによって、スクリーン切替時には、上記第1データ取得部41の処理が行われなくても、上記画面表示部42によって他のスクリーンに係わる画面表示が行われる。つまり、上記他のスクリーンへの切替えが実現される。   Further, the screen switching processing unit 44 stores (for example, copies) the stored data of the second internal memory in the first internal memory, for example. As a result, when the screen is switched, the screen display unit 42 displays a screen related to another screen even if the process of the first data acquisition unit 41 is not performed. That is, switching to the other screen is realized.

但し、スクリーン切替時に、上記他のスクリーン上の各アイテムのなかに上記第2内部メモリにデータ格納されていないアイテムがある場合には、当該アイテムに関しては上記第1データ取得部41の処理が必要となる。この場合にはこの処理が行われることで、上記他のスクリーンへの切替えが実現される。   However, when there is an item whose data is not stored in the second internal memory among the items on the other screens when the screen is switched, the processing of the first data acquisition unit 41 is necessary for the item. It becomes. In this case, by performing this process, switching to the other screen is realized.

また、上記スクリーン切替処理部44による上記他のスクリーンへの切替えは、上記のように第2内部メモリの格納データを用いて行うものであれば何でもよく、上記「第2内部メモリの格納データを上記第1内部メモリに格納する(例えばコピーする)」例に限るものではない。例えば他の例としては、上記第2内部メモリを上記第1内部メモリとして扱うようにメモリ管理制御する方法等がある。   The switching to the other screen by the screen switching processing unit 44 is not particularly limited as long as it is performed using the data stored in the second internal memory as described above. It is not limited to the example of “store (for example, copy) in the first internal memory”. For example, as another example, there is a method of performing memory management control so that the second internal memory is handled as the first internal memory.

また、上記第1データ取得部41によるデータ取得・格納処理が優先的に実行され、上記第2データ取得部43によるデータ取得・格納処理は、空き時間に実行される。この為、例えば、第2データ取得部43は、その処理実行毎に、他のスクリーン上の各アイテムのなかの一部のアイテムを処理対象アイテムとする。換言すれば、他のスクリーン上の全アイテムについて一度に外部メモリからのデータ取得を行うのではなく、少しずつ(例えば一度に1つのアイテムだけ)データ取得を行う。その為、処理実行毎に処理対象アイテム(外部メモリからデータを取得するアイテム)を選定する必要がある。この選定方法は、様々であってよく、例えば未だ一度もデータを取得していないアイテムを、優先的に処理対象アイテムとするが、勿論、この例に限らない。   Further, the data acquisition / storage process by the first data acquisition unit 41 is preferentially executed, and the data acquisition / storage process by the second data acquisition unit 43 is executed in an idle time. For this reason, for example, the 2nd data acquisition part 43 makes some items in each item on another screen a process target item for every execution of the process. In other words, data is acquired little by little (for example, only one item at a time) instead of acquiring data from the external memory at once for all items on other screens. For this reason, it is necessary to select a processing target item (item for acquiring data from an external memory) every time processing is executed. This selection method may be various. For example, an item for which data has not yet been acquired is preferentially set as a processing target item, but of course, the present invention is not limited to this example.

図5は、本例のプログラマブル表示器1の概略的な動作例を示すフローチャート図である。
図6は、図5のステップS2の処理の詳細例を示すフローチャート図である。
FIG. 5 is a flowchart showing a schematic operation example of the programmable display 1 of this example.
FIG. 6 is a flowchart showing a detailed example of the process in step S2 of FIG.

図5の例では、任意のスクリーンについて画面表示を行っている間、当該現在表示中のスクリーンに関する上述した既存の表示内容リフレッシュ処理を行うと共に(ステップS1)、“バックグラウンドで外部メモリ先読処理”を実行する(ステップS2)ことを繰り返している。そして、この様にステップS1、S2の処理を繰り返し実行中の任意のときに、スクリーン切替指示があると(例えばユーザが上記不図示のスクリーン切替スイッチを操作すると)、図示のステップS3の判定がYESとなってステップS4以降の処理へと移行する。   In the example of FIG. 5, while the screen display is being performed for an arbitrary screen, the above-described existing display content refresh process related to the currently displayed screen is performed (step S <b> 1), and “external memory prefetching process in the background” is performed. "Is repeated (step S2). If there is a screen switching instruction at any time during the repeated execution of the processing of steps S1 and S2 in this way (for example, when the user operates the screen switching switch (not shown)), the determination at step S3 shown in FIG. It becomes YES and transfers to the process after step S4.

ステップS2の処理については、詳しくは後に図6を参照して説明するが、概略的には、上記現在表示中のスクリーンの次に表示される可能性があるスクリーン(切替候補スクリーンと言うものとする)に関して、予め、当該切替候補スクリーンに係わる各アイテムの各“割当メモリ領域”から格納データの読出しを行っておくものである。   The process of step S2 will be described later in detail with reference to FIG. 6, but generally, a screen that may be displayed next to the currently displayed screen (referred to as a switching candidate screen). The stored data is read out in advance from each “allocated memory area” of each item related to the switching candidate screen.

ここで、説明を簡単にする為に、各スクリーンは1つのアイテムのみを有するものとし(但し、切替スイッチは除く)、上記切替候補スクリーンは1つだけであるものとする。そして、例えば、上記現在表示中のスクリーン上のアイテムの“割当メモリアドレス”はD100番地、上記切替候補スクリーン上のアイテムの“割当メモリアドレス”はD200番地であるものとする。   Here, in order to simplify the description, it is assumed that each screen has only one item (except for the changeover switch), and that there is only one changeover candidate screen. For example, it is assumed that the “allocated memory address” of the item on the currently displayed screen is D100, and the “allocated memory address” of the item on the switching candidate screen is D200.

この例の場合、上記ステップS1ではD100番地の格納データを読出して当該読出しデータに基づく既存の表示内容リフレッシュ処理を行うことになる。また、上記ステップS2ではD200番地の格納データを読出して当該読出しデータを所定の記憶領域(内部バッファ)に一時的に保持させておくことになる。   In the case of this example, in step S1, the stored data at address D100 is read and the existing display content refresh process based on the read data is performed. In step S2, the stored data at address D200 is read and the read data is temporarily held in a predetermined storage area (internal buffer).

尚、切替候補スクリーンが複数ある場合には、他の切替候補スクリーンについてもそのスクリーン上のアイテムの“割当メモリ領域”からデータを読み出して上記内部バッファに保持させるようにしてもよい。   If there are a plurality of switching candidate screens, data may be read from the “allocated memory area” of the items on the other switching candidate screens and held in the internal buffer.

但し、基本的には、上記現在表示中のスクリーンに関する処理(割当メモリ領域からのデータ読出しや表示更新処理等)が優先するので、これらの処理が行われていない空き時間を利用して上記切替候補スクリーンに係わるデータ読出し処理を行うことが望ましい。   However, basically, the processing related to the currently displayed screen (data reading from the allocated memory area, display update processing, etc.) has priority, so the switching is performed using the idle time during which these processing are not performed. It is desirable to perform data read processing relating to the candidate screen.

また、これより、ステップS2の処理では、一度に全ての切替候補スクリーンの全アイテムに係わるデータ読出し処理を行うことは困難である。この為、ステップS2の処理を実行する毎に少しずつデータ読出しを行うことになる(1回毎に、切替候補スクリーンの各アイテムのうちの一部のアイテムのみが読出対象となる)。この為、場合によっては、後述するスクリーン切替操作が行われたときに、切替先スクリーン上の全アイテムに係わるデータ読出しが行われているとは限らないことになる。   In addition, from this, it is difficult to perform the data reading process related to all items on all the switching candidate screens at the same time in the process of step S2. For this reason, every time the process of step S2 is executed, data reading is performed little by little (only a part of items of each item on the switching candidate screen is read). For this reason, in some cases, when a screen switching operation to be described later is performed, data reading related to all items on the switching destination screen is not necessarily performed.

これより、ユーザが上記現在表示中のスクリーン上でスクリーン切替操作を行うと(ステップS3)、切替先スクリーン上の各アイテム毎にそれぞれ下記のステップS4の判定を行い、判定結果に応じて下記のステップS5、S6の何れかの処理を実行する。   Thus, when the user performs a screen switching operation on the currently displayed screen (step S3), the following step S4 is determined for each item on the switching destination screen, and depending on the determination result, the following One of the processes in steps S5 and S6 is executed.

すなわち、切替先スクリーン上の各アイテム毎に、そのアイテムに係わる“割当メモリ領域”からの読出しデータが、上記内部バッファに存在するか否かを判定する(ステップS4)。そして、読出しデータが内部バッファにある場合には(ステップS4,YES)、当該内部バッファのデータを読み出す(ステップS5)。一方、読出しデータが内部バッファに無い場合には(ステップS4,NO)、そのアイテムに係わる“割当メモリ領域”からデータを読み出す(ステップS6)。   That is, for each item on the switching destination screen, it is determined whether or not read data from the “allocated memory area” related to the item exists in the internal buffer (step S4). When the read data is in the internal buffer (step S4, YES), the data in the internal buffer is read (step S5). On the other hand, if the read data is not in the internal buffer (step S4, NO), the data is read from the “allocated memory area” related to the item (step S6).

そして、切替先スクリーン上の全アイテムについて上記ステップS5、S6の何れかの処理によってデータを読み出したら、当該読出しデータに基づいて切替先スクリーンの画面表示を行う(スクリーン切替が行われる)(ステップS7)。   Then, when data is read for all items on the switching destination screen by the process in any of steps S5 and S6, the screen of the switching destination screen is displayed based on the read data (screen switching is performed) (step S7). ).

そして、ステップS1に戻り、上記切替先スクリーンが新たな上記現在表示中のスクリーンとなって、上記ステップS1の処理が行われることになる。そして、例えば、新たな現在表示中のスクリーンからの切替先と成り得るスクリーン(新たな切替先候補スクリーン)について、上記ステップS2の処理を行うことになる。   Then, returning to step S1, the switching destination screen becomes the new currently displayed screen, and the process of step S1 is performed. Then, for example, the process of step S2 is performed on a screen (new switching destination candidate screen) that can be a switching destination from the new currently displayed screen.

尚、仮に切替先スクリーン上の全アイテムについてステップS4の判定がNOとなる場合は、実質的に従来と同じ処理が行われることになり、スクリーン切替えに時間が掛かることになる。しかし、この様な特殊な場合以外は、スクリーン切替えに掛かる時間は従来よりも短縮されることになる。言うまでも無く、ステップS5の処理に掛かる時間は、ステップS6の処理に掛かる時間よりも短くて済むからである。   If the determination in step S4 is NO for all items on the switching destination screen, substantially the same processing as in the conventional case is performed, and it takes time to switch the screen. However, except for such special cases, the time required for screen switching is shortened compared to the conventional case. Needless to say, the time required for the process in step S5 is shorter than the time required for the process in step S6.

以下、図6を参照して、上記ステップS2の処理について更に詳細に説明する。
上記の通り、ステップS2の処理を実行する毎に少しずつ外部メモリからのデータ読出し(及び内部バッファへの一時的記憶)を行うことになる。これより、ステップS2を実行する毎に、そのときのデータ読出し対象となる少数の(1以上の)アイテムを決定する必要がある。この読出対象メモリ選定のメイン処理が、図6に示すステップS55の処理である。
Hereinafter, the process of step S2 will be described in more detail with reference to FIG.
As described above, every time the process of step S2 is executed, data is read from the external memory little by little (and temporarily stored in the internal buffer). Thus, each time step S2 is executed, it is necessary to determine a small number (one or more) of items to be data read at that time. The main process for selecting the memory to be read is the process of step S55 shown in FIG.

尚、読出対象メモリの選定方法は、様々であってよく、図6に示しここで説明する方法は、一例を示すものに過ぎない。
図6の例では、まず、画面関連付け情報があるか否かを判定する(ステップS51)。
Note that there are various methods for selecting the memory to be read, and the method shown in FIG. 6 and described here is merely an example.
In the example of FIG. 6, it is first determined whether there is screen association information (step S51).

図7に、画面関連付け情報の一例を示す。尚、画面関連付け情報は、例えば作画エディタ装置5側において開発者等が任意の画面データ22の作成に伴って作成したものが、画面データ22と一緒にプログラマブル表示器1にダウンロードされて記憶されたものである。   FIG. 7 shows an example of the screen association information. The screen association information, for example, created by the developer or the like on the drawing editor device 5 side along with the creation of the arbitrary screen data 22 is downloaded and stored together with the screen data 22 to the programmable display device 1. Is.

画面関連付け情報は、例えば、画面データ22を構成する複数のスクリーン間の遷移関係(切替元と切替先)を示すものである。図7では、各矩形と矩形内の名称が、各スクリーンとスクリーン名を示す。そして、矩形間を結ぶ直線が、各スクリーンの遷移関係(切替元と切替先)を示すものである。例えば、図示の「管理画面」スクリーンからの切替先は、「生産ライン1」スクリーンのみである。図示の「ライン1−2」スクリーンからの切替先は、「生産ライン1」スクリーンまたは「ライン1−1」スクリーンとなる。図示の「生産ライン1」スクリーンからの切替先は、「ライン1−1」スクリーンまたは「ライン1−2」スクリーンまたは「生産ライン2」スクリーンあるいは「管理画面」スクリーンとなる。   The screen association information indicates, for example, a transition relationship (switching source and switching destination) between a plurality of screens constituting the screen data 22. In FIG. 7, each rectangle and the name in the rectangle indicate each screen and the screen name. A straight line connecting the rectangles indicates the transition relationship (switching source and switching destination) of each screen. For example, the “production line 1” screen is the only switching destination from the illustrated “management screen” screen. The switching destination from the illustrated “Line 1-2” screen is the “Production Line 1” screen or the “Line 1-1” screen. The switching destination from the “production line 1” screen shown in the figure is the “line 1-1” screen, the “line 1-2” screen, the “production line 2” screen, or the “management screen” screen.

但し、画面関連付け情報は、必ず作成されているとは限らない。これより、まず、画面関連付け情報の有無を判定する(ステップS51)。そして、画面関連付け情報があるならば(ステップS51,YES)、この画面関連付け情報を参照して現在表示中のスクリーンからの切替先と成り得るスクリーン(切替候補スクリーン)を、選定優先度が高いスクリーンとする(ステップS52)。そして、ステップS53へ移行する。尚、“選定優先度が高いスクリーン”を、“外部メモリ先読み対象スクリーン”と呼んでもよい。   However, the screen association information is not always created. From this, first, the presence or absence of screen correlation information is determined (step S51). If there is screen association information (step S51, YES), a screen (switching candidate screen) that can be a switching destination from the currently displayed screen with reference to this screen association information is selected. (Step S52). Then, the process proceeds to step S53. The “screen having a high selection priority” may be referred to as an “external memory prefetch target screen”.

一方、画面関連付け情報が無ければ(ステップS51,NO)、そのままステップS53へ移行する。
尚、これは一例であり、この例に限らない。例えば上記画面関連付け情報が無くても、現在表示中のスクリーン上の特定のアイテム(上記スクリーン切替スイッチ)のデータに基づいて、上記選定優先度が高いスクリーンを決定するようにしてもよい。つまり、スクリーン切替スイッチに係わるアイテムデータには、切替先となるスクリーンの識別情報等が含まれている。よって、この識別情報が示すスクリーンを、上記選定優先度が高いスクリーンとすればよい。
On the other hand, if there is no screen association information (step S51, NO), the process proceeds to step S53 as it is.
This is an example, and the present invention is not limited to this example. For example, even if there is no screen association information, a screen having a high selection priority may be determined based on data of a specific item (the screen changeover switch) on the currently displayed screen. That is, the item data related to the screen changeover switch includes identification information of the screen to be changed over. Therefore, the screen indicated by the identification information may be a screen having a high selection priority.

また、尚、任意のスクリーンからの切替先と成り得るスクリーンが複数ある場合には、当該任意のスクリーン上には上記スクリーン切替スイッチが複数表示されることになる。この場合には、これら複数のスクリーン切替スイッチに対応する複数のスクリーンが、上記選定優先度が高いスクリーンとなる。尚、これら複数のスクリーンが、切替先候補スクリーンとなり、そのなかでユーザによって操作されたスクリーン切替スイッチに対応するスクリーンへと切替えられることになる。これより、当該ユーザ操作が行われたときには、既に、全ての切替先候補スクリーンに係わる全てのアイテムについて、一度は外部メモリ先読み処理が実行されていることが望ましい。そうであれば、複数の切替先候補スクリーンのなかのどれが指定されても、その全てのアイテムについて上記ステップS4の判定はYESとなるので、スクリーン切替時に外部メモリアクセスを行う必要はないことになる。   In addition, when there are a plurality of screens that can serve as switching destinations from an arbitrary screen, a plurality of the screen switching switches are displayed on the arbitrary screen. In this case, a plurality of screens corresponding to the plurality of screen changeover switches are screens having a high selection priority. The plurality of screens become switching destination candidate screens, and among them, the screen is switched to a screen corresponding to the screen switching switch operated by the user. Thus, when the user operation is performed, it is desirable that the external memory prefetching process is already executed once for all items related to all the switching destination candidate screens. If so, no matter which one of the plurality of switching destination candidate screens is specified, the determination in step S4 is YES for all the items, and it is not necessary to perform external memory access when switching the screen. Become.

また、ステップS53では、内部バッファに全データ格納済みか否かを判定する。これは、例えば全ての切替先候補スクリーンの全アイテムに関して、最低一度は、その割当メモリ領域からデータを読み出して内部バッファに格納済みであるか否かを(全読出対象メモリからデータ取得済みか否かを)、判定するものである。   In step S53, it is determined whether all data has been stored in the internal buffer. For example, for all items on all the switching destination candidate screens, whether or not data has been read from the allocated memory area and stored in the internal buffer at least once (whether or not data has been acquired from all read target memories). )).

例えば一例としては、ステップS55の先読みメモリ選定処理では、上記“内部バッファに全データ格納済み”の状態となるまでは、データ未取得の読出対象メモリのなかから選定するモード(データ未取得メモリ優先モード)となっている。そして、データ未取得の読出対象メモリが無くなったら(内部バッファに全データ格納済みとなったら)、今度は、内部バッファの格納データについて、古いデータから順に最新のデータへの更新していくモード(古データ優先更新モード)となる。   For example, in the prefetch memory selection process in step S55, a mode for selecting from among read target memories that have not yet acquired data (data not acquired memory priority) until the state of “all data stored in internal buffer” is reached. Mode). When there is no memory to be read that has not yet been acquired (when all data has been stored in the internal buffer), this time, the stored data in the internal buffer is updated to the latest data in order from the oldest data ( Old data priority update mode).

尚、ステップS53がYESとなる状況となった後は、上記の通り、ユーザが切替先としてどのスクリーンを選択してもステップS4はYESとなるので、スクリーン切替の為に外部メモリアクセスを行う必要は一切無いことになる。   After step S53 becomes YES, step S4 is YES regardless of which screen is selected by the user as described above, so external memory access is required for screen switching. There will be no.

上記ステップS53の判定がYESとなるまでは上記未取得メモリ優先モードとし、上記ステップS53の判定がYESとなったらモードを上記古データ優先更新モードに切り替える(ステップS54)。その後は、スクリーン切替えが行われるまでの間、古データ優先更新モードのままとする。尚、ステップS7のスクリーン切替えが行われたら、上記未取得メモリ優先モードに戻してから、ステップS1に戻る。   The non-acquisition memory priority mode is set until the determination in step S53 is YES, and the mode is switched to the old data priority update mode when the determination in step S53 is YES (step S54). Thereafter, the old data priority update mode is maintained until the screen is switched. If the screen is switched in step S7, the process returns to the non-acquisition memory priority mode and then returns to step S1.

上述したステップS51〜54の何れか1以上の処理を実行したら、ステップS55の先読みメモリ選定処理を実行する。
ステップS55の処理は、例えば、現在、上記未取得メモリ優先モードである場合には、データ未取得のアイテム(その割当メモリ)のなかから優先的に先読みメモリを選定する。その際、データ未取得のアイテムのなかで上記選定優先度が高いスクリーンのアイテムを、優先的に選定するものとしてよいが、この例に限らない。尚、後述するステップS56の処理では、選定された先読みメモリからデータを読み出すことになる。
When any one or more of the above-described steps S51 to S54 are executed, the prefetch memory selection process of step S55 is executed.
In the process of step S55, for example, when the current mode is the unacquired memory priority mode, the prefetch memory is preferentially selected from the items (the allocated memory) whose data is not acquired. At this time, the item of the screen having the high selection priority may be selected preferentially among the items for which data has not been acquired, but is not limited to this example. In the process of step S56 described later, data is read from the selected prefetch memory.

一方、現在、上記古データ優先更新モードである場合には、内部バッファの格納データのなかで最も古いデータ(例えば後述する更新時間75に基づいて判別する)に対応するアイテム(その割当メモリ)を、先読みメモリに選定する。   On the other hand, if the old data priority update mode is currently set, the item (the allocated memory) corresponding to the oldest data (for example, discriminated based on the update time 75 described later) among the data stored in the internal buffer is selected. Select a pre-read memory.

尚、何れの場合でも、先読みメモリは、1つとは限らず、複数であってもよい(予め決められた所定数としてもよい)。
以上が基本的な先読みメモリの選定方法であるが、これらの例に限らず、例えば空き物理ポートがある場合には、当該空き物理ポートを用いてアクセスされる外部メモリ(割当メモリ)を、優先的に選定するようにしてもよい。これは、例えば、後述する図8の例では、図示の接続機器4−1に接続するポートと、接続機器4−2に接続するポートとがある。この例において、現在表示中のスクリーンに関する割当メモリアクセス処理によって、現在、接続機器4−1と通信中である場合、接続機器4−2に接続するポートが上記空き物理ポートである。これより、この例の場合、その割当メモリが接続機器4−2内のメモリであるアイテムを、優先的に先読みメモリに選定するようにしてもよい。
In any case, the number of prefetch memories is not limited to one, but may be plural (may be a predetermined number determined in advance).
The above is the basic method of selecting the prefetch memory. However, the present invention is not limited to these examples. For example, when there is a free physical port, the external memory (allocated memory) accessed using the free physical port is given priority. May be selected. For example, in the example of FIG. 8 described later, there are a port connected to the illustrated connected device 4-1 and a port connected to the connected device 4-2. In this example, when currently communicating with the connected device 4-1 by the allocated memory access process for the currently displayed screen, the port connected to the connected device 4-2 is the free physical port. Accordingly, in this example, an item whose allocation memory is the memory in the connected device 4-2 may be preferentially selected as the prefetch memory.

あるいは、所定の条件を満たすアイテムに関しては、上記現在表示中のスクリーンに関する割当メモリアクセス処理に便乗させてデータ読出し(及び内部バッファへの格納)を行わせるようにしてもよい。   Alternatively, for items satisfying a predetermined condition, data reading (and storage in an internal buffer) may be performed by taking advantage of the allocated memory access processing relating to the currently displayed screen.

上記所定の条件を満たすアイテムとは、例えば、そのアイテムに係わる後述するメモリリストP2のデータを、後述するメモリリスト90に合成(追加)した方がよいアイテムである。この様なアイテムの一例を以下に列挙するが、これらの例に限るものではない。・上記現在表示中のスクリーンに係わるアクセス先のメモリデバイスと同じメモリデバイスにアクセスするアイテム。   The item satisfying the predetermined condition is, for example, an item that should be synthesized (added) to a memory list 90 to be described later with respect to data of a memory list P2 to be described later related to the item. Examples of such items are listed below, but are not limited to these examples. An item for accessing the same memory device as the access destination memory device related to the currently displayed screen.

上記現在表示中のスクリーンに係わる割当メモリ領域(例えばD100番地〜D103番地)に連続するメモリ領域(この例ではD104番地等)にアクセスするアイテム。換言すれば、例えば、D100番地〜D104番地等してまとめてアクセス可能となるアイテム。   An item for accessing a memory area (such as address D104 in this example) continuous to the allocated memory area (for example, addresses D100 to D103) related to the currently displayed screen. In other words, for example, items that can be accessed collectively at addresses D100 to D104.

そして、上記ステップS55で選定した先読みメモリからデータを読み出して(ステップS56)、当該読み出したデータを内部バッファに一時的に記憶する(ステップS57)。   Then, the data is read from the prefetch memory selected in step S55 (step S56), and the read data is temporarily stored in the internal buffer (step S57).

尚、勿論、可能であれば、ステップS55において全読出対象メモリを先読みメモリに選定してもよい。
本手法では、任意のスクリーンへの切替えが指示されたときに、当該切替先スクリーン上の全アイテムについて上記ステップS56,S57の処理が行われていた場合、上記内部バッファのデータを用いて当該切替先スクリーン(その初期状態)を表示することになる。つまり、スクリーン切替時に外部メモリからデータを取得する必要が無い(接続機器4と通信する必要がない)ことになる。よって、非常に短時間でスクリーン切替えが実現されることになる。
Of course, if possible, the entire read target memory may be selected as the prefetch memory in step S55.
In this method, when switching to an arbitrary screen is instructed, if the processing in steps S56 and S57 has been performed for all items on the switching destination screen, the switching is performed using the data in the internal buffer. The previous screen (its initial state) will be displayed. That is, it is not necessary to acquire data from the external memory at the time of screen switching (it is not necessary to communicate with the connection device 4). Therefore, screen switching is realized in a very short time.

また、上記切替先スクリーン上のアイテムの一部だけについて上記ステップS56,S57の処理が行われていた場合でも、従来に比べれば短時間でスクリーン切替えが実現されることになる。尚、通常、スクリーン切替えは、切替先スクリーンに係わる全アイテムのデータ取得が成されない限り、行われないように構成されている。   Even when only the part of the items on the switching destination screen is processed in steps S56 and S57, the screen switching can be realized in a shorter time compared to the conventional case. Normally, screen switching is configured not to be performed unless data acquisition of all items related to the switching destination screen is performed.

図8は、本例のプログラマブル表示器1の構成・処理機能図である。
CPU11が、例えば上記ROM12に記憶されている所定のプログラム(例えば上記本体プログラム21、通信プログラム23等)を実行することにより、例えば図8の点線内に示す各種処理機能部が実現される。すなわち、図示のアイテム生成部51、アイテム処理スケジュール部52、アイテム処理部53、通信処理部54(54−1、54−2等)等の各種処理機能部の下記の処理機能が実現される。
FIG. 8 is a configuration / processing function diagram of the programmable display device 1 of this example.
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 in a dotted line in FIG. 8 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の一部を抽出する形で生成する(更に後述する処理済みフラグ87を追加する)。   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 87 described later is added).

ここで、上記の通り、画面データ22は複数のスクリーンに係るデータから成り、アイテムリスト56には基本的に現在表示中のスクリーンに係るデータが格納される。これより、アイテム生成部51は、スクリーン切替スイッチが操作される毎に、既存のアイテムリスト56と共有メモリ55のデータを消去して、切替先スクリーンに応じた新たなアイテムリスト56と共有メモリ55を生成する(但し、この時点では共有メモリ55のデータ64にはデータは無く、後に例えば通信メモリ57のデータがコピーされることになる)。   Here, as described above, the screen data 22 includes data relating to a plurality of screens, and the item list 56 basically stores data relating to the currently displayed screen. Thus, each time the screen changeover switch is operated, the item generation unit 51 deletes the data in the existing item list 56 and the shared memory 55, and a new item list 56 and the shared memory 55 corresponding to the switching destination screen. (However, there is no data in the data 64 of the shared memory 55 at this time, and data of the communication memory 57 is copied later, for example).

アイテム生成部51は、更に、通信メモリ57のデータが共有メモリ55にコピーされた後等に、通信メモリ57のデータを消去して、次の切替先候補のスクリーンに応じた新たな通信メモリ57を生成する(但し、この時点では通信メモリ57のデータ74にはデータは無い)。但し、この処理は、通信処理部54が行うものであってもよい。尚、上記“次の切替先候補のスクリーン”とは、上記切替先スクリーンにおけるスクリーン切替スイッチに対応するスクリーンである。   The item generation unit 51 further deletes the data in the communication memory 57 after the data in the communication memory 57 has been copied to the shared memory 55, and a new communication memory 57 corresponding to the next switching destination candidate screen. (However, there is no data in the data 74 of the communication memory 57 at this time). However, this processing may be performed by the communication processing unit 54. The “next switching destination candidate screen” is a screen corresponding to the screen changeover switch in the switching destination screen.

アイテム処理スケジュール部52は、アイテム処理部53による各アイテムの表示更新処理等のスケジュール管理を行う。つまり、アイテム処理スケジュール部52は、例えば定期的にアイテム処理部53を呼び出して例えば後述する図17の処理を実行させる(換言すれば、図17の処理をサイクリックに実行させる)。   The item processing schedule unit 52 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, for example, and executes, for example, the processing of FIG. 17 described later (in other words, cyclically executes the processing of FIG. 17).

アイテム処理部53は、上記アイテムリスト56や後述する共有メモリ55の格納データに基づいて、各アイテム毎に、その画像を所定位置に表示すると共にその表示内容を更新する処理(例えばON/OFF画像切替えや数値表示の数値更新等)等を行う。   The item processing unit 53 displays the image at a predetermined position and updates the display content (for example, an ON / OFF image) for each item based on the item list 56 and data stored in the shared memory 55 described later. Switch and update the numerical display).

アイテム処理部53は、上記処理に伴って各種画像をRAM13上に描画(展開)する。これによって、グラフィックコントローラ15が当該描画データをディスプレイ上に表示することで、上記表示操作画面が表示されることになる。この描画データは、アイテム処理部53によって例えば後述する図17の処理実行毎に随時更新される。尚、アイテム処理部53の処理自体は、基本的に、従来と略同様であってよい。   The item processing unit 53 draws (decompresses) various images on the RAM 13 in accordance with the above processing. 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 FIG. In addition, the process itself of the item processing unit 53 may be basically the same as the conventional one.

通信処理部54は、各接続機器4(4−1、4−2)に対応して備えられる通信処理部54−1、54−1である。通信処理部54は、例えば、共有メモリ55の格納データの更新処理を行う。   The communication processing unit 54 is a communication processing unit 54-1, 54-1 provided corresponding to each connected device 4 (4-1, 4-2). For example, the communication processing unit 54 performs an update process of data stored in the shared memory 55.

すなわち、図示の通信処理部54−1は、接続機器4−1に対応する通信ポートWAY1を使用して、通信ライン6を介して、接続機器4−1との通信を行って、その外部メモリの所定領域(割当メモリ領域)の格納データを取得する。これは、現在表示中のスクリーン上のアイテムのうち、接続機器4−1内の外部メモリが割り当てられたアイテムに関するデータを取得するものである。取得データは、共有メモリ55の所定領域に上書き格納する。   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 external memory thereof. Stored data in a predetermined area (allocated memory area). This is to acquire data related to an item to which an external memory in the connected device 4-1 is allocated among items on the screen currently being displayed. The acquired data is overwritten and stored in a predetermined area of the shared memory 55.

同様に、図示の通信処理部54−2は、接続機器4−2に対応する通信ポートWAY2を使用して、通信ライン6を介して、接続機器4−2との通信を行って、その外部メモリの所定領域(割当メモリ領域)の格納データを取得する。これは、現在表示中のスクリーン上のアイテムのうち、接続機器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 externally transmits the communication port WAY2. Data stored in a predetermined area (allocated memory area) of the memory is acquired. This is to acquire data related to an item to which an external memory in the connected device 4-2 is allocated among items on the screen currently being displayed. The acquired data is overwritten and stored in a predetermined area of the shared memory 55.

但し、上記共有メモリ55の格納データの更新処理自体は、既存の処理と略同様である。本例の各通信処理部54は、上記既存処理だけでなく更に下記の新規処理を実行する。
すなわち、各通信処理部54は、更に、通信メモリ57の格納データを更新する処理を実行する。ここで、通信メモリ57には、上記切替候補スクリーンに係わるデータを格納する。上記の通り、例えば、現在表示中のスクリーン上のスクリーン切替スイッチに対応するスクリーンが、上記切替候補スクリーンである。
However, the update process itself of the data stored in the shared memory 55 is substantially the same as the existing process. Each communication processing unit 54 in this example executes not only the above existing process but also the following new process.
That is, each communication processing unit 54 further executes a process of updating data stored in the communication memory 57. Here, the communication memory 57 stores data relating to the above-described switching candidate screen. As described above, for example, the screen corresponding to the screen switch on the currently displayed screen is the switching candidate screen.

そして、通信処理部54は、当該切替候補スクリーンに関しても、上記現在表示中のスクリーンと略同様に、該当する外部メモリからのデータ取得を行うものである。但し、取得データは、共有メモリ55ではなく、上記内部バッファに記憶する。この内部バッファに相当するものが通信メモリ57である。すなわち、通信処理部54は、切替候補スクリーン上の各アイテムの割当メモリ領域の格納データを読み出して、通信メモリ57に格納する。勿論、各通信処理部54−1、54−2それぞれは、自己が担当する接続機器4からのデータ読出しのみを行うことになる。   The communication processing unit 54 also obtains data from the corresponding external memory in the same manner as the currently displayed screen for the switching candidate screen. However, the acquired data is stored not in the shared memory 55 but in the internal buffer. A communication memory 57 corresponds to the internal buffer. That is, the communication processing unit 54 reads the stored data in the allocated memory area of each item on the switching candidate screen and stores it in the communication memory 57. Of course, each of the communication processing units 54-1 and 54-2 only reads data from the connection device 4 that the communication processing unit 54-1 and 54-2 is responsible for.

上記新規処理は、通信メモリ57の格納データの更新処理と言える。この処理の一例が、上述した図6の処理である。
尚、上記のことから、通信メモリ57のデータ構造(各データ項目)は、基本的に、共有メモリ55と略同様である。共有メモリ55と通信メモリ57のデータ構造は、図9に示し、後に説明する。
The new process can be said to be an update process of data stored in the communication memory 57. An example of this process is the process of FIG. 6 described above.
From the above, the data structure (each data item) of the communication memory 57 is basically the same as that of the shared memory 55. The data structures of the shared memory 55 and the communication memory 57 are shown in FIG. 9 and will be described later.

そして、任意のタイミングでユーザによってスクリーン切替スイッチが操作されたとき、通信処理部54が(あるいはアイテム生成部51等が)、通信メモリ57の格納データを共有メモリ55にコピー(上書き)する。これによって、外部メモリ(割当メモリ領域)にアクセスする必要なく、切替先スクリーンを表示させることができる。   When the screen switch is operated by the user at an arbitrary timing, the communication processing unit 54 (or the item generation unit 51 or the like) copies (overwrites) the data stored in the communication memory 57 to the shared memory 55. This makes it possible to display the switching destination screen without having to access the external memory (allocated memory area).

ここで、上記アイテムリスト56、共有メモリ55、通信メモリ57の具体例について説明しておく。
図9(a)に共有メモリ55のデータ構造例、図9(b)に共有メモリ55のデータ格納例を示す。
Here, specific examples of the item list 56, the shared memory 55, and the communication memory 57 will be described.
FIG. 9A shows a data structure example of the shared memory 55, and FIG. 9B shows a data storage example of the shared memory 55.

図示の例では、共有メモリ55は、ポート61、デバイス名62、アドレス63、データ64、エラー情報65の各データ項目より成る。
ポート61は、上記通信ポートの識別情報等であり、実質的には通信相手の接続機器4を識別する情報となる。デバイス62は、通信相手の接続機器4内のメモリデバイス(外部メモリ)の識別情報である。アドレス63は、デバイス62が示す外部メモリにおける所定の記憶領域のアドレスであり、データ64にはこの記憶領域から取得したデータが格納される。
In the illustrated example, the shared memory 55 includes data items of a port 61, a device name 62, an address 63, data 64, and error information 65.
The port 61 is identification information or the like of the communication port, and is substantially information for identifying the connection device 4 of the communication partner. The device 62 is identification information of a memory device (external memory) in the connection device 4 of the communication partner. The address 63 is an address of a predetermined storage area in the external memory indicated by the device 62, and the data 64 stores data acquired from this storage area.

尚、デバイス名62とアドレス63とが、各アイテムの上記“割当メモリアドレス”に相当すると見做してよい。これらは、例えば、後述するアイテムリスト56のデバイス名84、アドレス85をコピーしたものである。また、ポート61は、例えばデバイス名62に基づいて該当する接続機器4を判別することで判定した通信ポート番号等であってもよい。あるいは、後述するデバイス名84には、メモリデバイス名だけでなく通信ポート識別情報等も含まれていてもよい。   The device name 62 and the address 63 may be regarded as corresponding to the “allocated memory address” of each item. These are copies of, for example, a device name 84 and an address 85 of an item list 56 described later. The port 61 may be a communication port number determined by determining the corresponding connected device 4 based on the device name 62, for example. Alternatively, the device name 84 described later may include not only the memory device name but also communication port identification information.

尚、エラー情報65には、接続機器4との通信エラー等があった場合に、そのエラー情報(図9(b)に示す“エラー”等)が格納される。
図9(c)に通信メモリ57のデータ構造例、図9(d)に通信メモリ57のデータ格納例を示す。
The error information 65 stores error information (such as “error” shown in FIG. 9B) when there is a communication error with the connected device 4 or the like.
FIG. 9C shows a data structure example of the communication memory 57, and FIG. 9D shows a data storage example of the communication memory 57.

通信メモリ57は、ポート71、デバイス名72、アドレス73、データ74、更新時間75の各データ項目より成る。このうち、ポート71、デバイス名72、アドレス73、データ74の各データ項目は、上記共有メモリ55の各データ項目61,62,63,64と略同様であってよい。更新時間75には、データ74の格納データが更新される毎に、そのときの時間(例えば起動時からの経過時間等)が格納される。後述するデータ74の更新処理は、例えば全レコードのなかで更新時間75が最も小さい(換言すれば、前回の更新時から最も時間が経っている;最も古い)レコードが、更新処理対象レコードとなる。   The communication memory 57 includes data items of a port 71, a device name 72, an address 73, data 74, and an update time 75. Among these, the data items of the port 71, the device name 72, the address 73, and the data 74 may be substantially the same as the data items 61, 62, 63, and 64 of the shared memory 55. Each time the stored data of the data 74 is updated, the update time 75 stores the time at that time (for example, the elapsed time from the start-up time). In the update process of data 74 to be described later, for example, the record with the shortest update time 75 (in other words, the oldest time since the previous update; the oldest) among all the records becomes the update process target record. .

例えば、図9(d)に示す例では、先頭レコード(更新時間75=‘5000’のレコード)が、更新処理対象レコードとなる。勿論、この例に限らず、例えば更新処理対象レコードが複数あってもよい。つまり、最も古いレコードだけでなく、2番目に古いレコードや3番目に古いレコードも、更新処理対象レコードとするようにしても構わない。   For example, in the example shown in FIG. 9D, the first record (update time 75 = “5000” record) is the update process target record. Of course, the present invention is not limited to this example. For example, there may be a plurality of update process target records. That is, not only the oldest record but also the second oldest record or the third oldest record may be set as the update process target record.

また、図10(a)には、アイテムリスト56のデータ構造例を示す。
図示の例のアイテムリスト56は、アイテムタイプ81、座標82、サイズ83、デバイス名84、アドレス85、“アイテムタイプ毎のデータ”86、処理済みフラグ67の各データ項目より成る。
FIG. 10A shows an example of the data structure of the item list 56.
The item list 56 in the illustrated example includes data items of item type 81, coordinates 82, size 83, device name 84, address 85, “data for each item type” 86, and processed flag 67.

上記の通り、アイテムリスト56には、現在表示中のスクリーン上の各アイテムに関する所定情報が格納される。基本的に、各レコードが各アイテムに対応するものである。よって、スクリーンが切り替えられる毎に、アイテムリスト56は更新される。つまり、スクリーン切替時に、そのときのアイテムリスト56の格納データは消去されて、画面データ22に基づいて新たなデータが生成・格納されることになる。勿論、新たなデータは、切替先スクリーン上の各アイテムに係わるデータとなる。   As described above, the item list 56 stores predetermined information related to each item on the currently displayed screen. Basically, each record corresponds to each item. Therefore, the item list 56 is updated every time the screen is switched. That is, at the time of screen switching, the stored data in the item list 56 at that time is deleted, and new data is generated and stored based on the screen data 22. Of course, the new data is data related to each item on the switching destination screen.

アイテムタイプ81には、そのアイテムの種別(スイッチ、ランプ、数値表示等)を示すアイテム種別識別情報が格納される。尚、アイテム種別として更に“スクリーン切替スイッチ”等があってもよい。   The item type 81 stores item type identification information indicating the type (switch, lamp, numerical display, etc.) of the item. Note that the item type may further include a “screen changeover switch” or the like.

また、デバイス名84とアドレス85は、各アイテムの上記外部メモリアクセスに係わる情報であり、上記割当メモリアドレスに相当する。つまり、デバイス名84が示す外部メモリにおけるアドレス85が示す記憶領域が、そのアイテムに割り当てられた領域(上記割当メモリ領域)である。この割当メモリ領域の格納データが、そのアイテムに係る監視/制御対象の現在の状態を示すものである。例えばアイテムタイプ81がランプであれば、ランプの点灯/消灯を示すフラグデータ等が上記格納データである。この格納データは、接続機器4側で随時更新される。また、割当メモリ領域の格納データが定期的に読み出されて、上記共有メモリ55の該当レコードのデータ64に一時的に記憶される。   The device name 84 and the address 85 are information related to the external memory access of each item, and correspond to the allocated memory address. That is, the storage area indicated by the address 85 in the external memory indicated by the device name 84 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 monitoring / control target related to the item. For example, if the item type 81 is a lamp, flag data indicating lighting / extinguishing of the lamp is the stored data. This stored data is updated at any time on the connected device 4 side. The stored data in the allocated memory area is periodically read out and temporarily stored in the data 64 of the corresponding record in the shared memory 55.

“アイテムタイプ毎のデータ”86には、例えばそのアイテムに係る画像等(例えばランプ・アイテムであればランプ点灯画像とランプ消灯画像、あるいはスイッチ・アイテムであればスイッチON画像とスイッチOFF画像等の各種アイテム画像)が格納される。   “Data for each item type” 86 includes, for example, an image related to the item (for example, a lamp on image and a lamp off image for a lamp item, or a switch ON image and a switch OFF image for a switch item). Various item images) are stored.

座標82とサイズ83には、上記操作表示画面(スクリーン)上における上記アイテム画像の表示位置と大きさを示す情報が格納される。
ここで、上記スクリーン切替スイッチも、上記アイテムの一種であり、従ってスクリーン切替スイッチに関する情報もアイテムリスト56に格納される。
The coordinates 82 and size 83 store information indicating the display position and size of the item image on the operation display screen (screen).
Here, the screen changeover switch is also a kind of the item, and therefore information regarding the screen changeover switch is also stored in the item list 56.

図10(b)に、アイテムリスト56におけるスクリーン切替スイッチのデータ格納例を示す。
まず、スクリーン切替スイッチはスイッチの一種であるから、アイテムタイプ81には“スイッチ”が格納される。但し、この例に限らず、アイテム種別として“スクリーン切替スイッチ”が規定されている場合には、アイテムタイプ81には“スクリーン切替スイッチ”が格納される。本説明では、この例を用いるものとする。
FIG. 10B shows a data storage example of the screen changeover switch in the item list 56.
First, since the screen changeover switch is a kind of switch, the item type 81 stores “switch”. However, not limited to this example, when “screen changeover switch” is defined as the item type, the item type 81 stores “screen changeover switch”. This example will be used in this description.

また、外部メモリアクセスは必要ないアイテムであるので、デバイス名84とアドレス85の格納データは“なし”となる。
そして、“アイテムタイプ毎のデータ”86には、上記アイテム画像だけでなく、当該スクリーン切替スイッチに対応する切替先スクリーンの識別ID(画面番号等)が格納される。
Further, since the external memory access is not required, the storage data of the device name 84 and the address 85 is “none”.
The “data for each item type” 86 stores not only the item image but also the identification ID (screen number or the like) of the switching destination screen corresponding to the screen switch.

図12に、スクリーン切替前後の各アイテムの様子を示す。
図示の例では、画面No.1のスクリーンから画面No.2のスクリーンに切り替わる様子を示す。すなわち、画面No.1のスクリーンを表示中の状態で当該スクリーン上のスクリーン切替スイッチ(図示の「画面No.2への切り替えSW」)が操作されると、画面No.2のスクリーンに切り替わることになる。尚、図示していないが、画面No.2のスクリーン上にもスクリーン切替スイッチが存在する。
FIG. 12 shows the state of each item before and after screen switching.
In the illustrated example, screen No. No. 1 screen no. The state of switching to the screen of 2 is shown. That is, screen No. When the screen changeover switch ("Switch SW to screen No. 2" in the figure) on the screen is operated while the screen of screen No. 1 is being displayed, screen No. 1 is displayed. It will switch to the second screen. Although not shown, screen No. There is also a screen changeover switch on the second screen.

図示の各スクリーン上の5つの矩形が、そのスクリーン上のアイテム表示を意味するが、実際の表示内容を示すものではない。すなわち、各矩形内の文字は、各アイテムの割当メモリアドレスを意味する。図示のように、スクリーンが切り替わることで、表示されるアイテムが変わり、以って割当メモリアドレスも変わることになる。   The five rectangles on each screen shown in the figure mean item display on the screen, but do not indicate actual display contents. That is, the character in each rectangle means the allocated memory address of each item. As shown in the figure, when the screen is switched, the displayed item is changed, and the allocated memory address is also changed.

すなわち、例えば、画面No.1のスクリーンを表示中の状態では、上記通信処理部54は、図示の各割当メモリ‘D100’、‘D200’、‘D300’、‘X0’、‘Y0’から、それぞれ、格納データを読み出して共有メモリ55に記憶する。そして、アイテム処理部53は、共有メモリ55の格納データに基づいて画面No.1のスクリーンの表示を行う。これ自体は従来と略同様であるが、本手法では通信処理部54は更に、画面No.2のスクリーンに係わる図示の各割当メモリ‘D1100’、‘D1200’、‘D1300’、‘M0’、‘M1’から、それぞれ、格納データを読み出して通信メモリ57に記憶する処理も行っている。本手法では更に、通信処理部54などが、上記「画面No.2への切り替えSW」が操作されると、通信メモリ57の格納データを共有メモリ55にコピーする処理等も実行する。   That is, for example, screen No. In the state where one screen is being displayed, the communication processing unit 54 reads out stored data from each of the allocated memories 'D100', 'D200', 'D300', 'X0', and 'Y0' shown in the figure. Store in the shared memory 55. Then, the item processing unit 53 displays the screen No. based on the data stored in the shared memory 55. 1 screen is displayed. This is substantially the same as the conventional one, but in this method, the communication processing unit 54 further displays the screen No. The stored data is read out from each of the allocated memories ‘D1100’, ‘D1200’, ‘D1300’, ‘M0’, and ‘M1’ related to the screen 2 and stored in the communication memory 57. In this method, the communication processing unit 54 or the like further executes a process of copying the data stored in the communication memory 57 to the shared memory 55 when the “switching to screen No. 2” is operated.

以下、上記通信処理部54、アイテム処理部53の処理について、更に詳細に説明する。
図13、図14、図15、図16は、通信処理部54の処理フローチャート図(1/4)、(2/4)、(3/4)、(4/4)である。
Hereinafter, the processes of the communication processing unit 54 and the item processing unit 53 will be described in more detail.
13, 14, 15, and 16 are process flowchart diagrams (1/4), (2/4), (3/4), and (4/4) of the communication processing unit 54.

以下、図13、図14、図15、図16(特に区別せずに図13等と記すものとする)を参照して通信処理部54について説明する。
例えば図8の例では各通信処理部54−1、54−2が、各々、図13等の処理をサイクリックに(定周期で)実行するものである。
Hereinafter, the communication processing unit 54 will be described with reference to FIGS. 13, 14, 15, and 16 (refer to FIG. 13 and the like without distinction).
For example, in the example of FIG. 8, each of the communication processing units 54-1 and 54-2 executes the process of FIG. 13 cyclically (at a constant cycle).

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

図11(a)に、このメモリリスト90のデータ構成例を示す。
図示の例では、メモリリスト90は、デバイス名91、アドレス92、データ93、エラー情報94の各データ項目より成る。尚、エラー情報94は必ずしも必要ない。
FIG. 11A shows a data configuration example of the memory list 90.
In the illustrated example, the memory list 90 includes data items of a device name 91, an address 92, data 93, and error information 94. The error information 94 is not always necessary.

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

その後は、生成したメモリリスト90を参照しながら、ステップS23の判定がNOとなるまで、図示のステップS12〜S23の間の処理を繰り返し実行する。
すなわち、メモリリスト90から未処理のレコードを取り出して(処理対象レコードとし)、この処理対象レコードの内容に基づくメモリ読込コマンドを生成して自己が担当する接続機器4に通信ライン6を介して送信する(ステップS16)。そして、このメモリ読込コマンドに対する接続機器4からの応答待ちとなる(ステップS17)。但し、ステップS16の処理を行う前に、現状チェックを行ってスクリーン切替中か否かを判定する(ステップS12)。
Thereafter, while referring to the generated memory list 90, the processing between steps S12 to S23 shown in the figure is repeatedly executed until the determination in step S23 is NO.
In other words, an unprocessed record is taken out from the memory list 90 (as a process target record), a memory read command based on the contents of the process target record is generated, and transmitted to the connected device 4 that the user is in charge of via the communication line 6 (Step S16). Then, it waits for a response from the connected device 4 to this memory read command (step S17). However, before performing the process of step S16, the current state is checked to determine whether or not the screen is being switched (step S12).

これは、例えば、上記スクリーン切替スイッチに応じた所定の記憶領域が予め設定されており、この所定の記憶領域にはフラグが格納されている。そして、スクリーン切替スイッチが操作される毎に、フラグONになる。尚、上記所定の記憶領域には上記フラグだけでなく切替先スクリーンの識別ID(画面番号等)も記憶されるようにしてもよい。   For example, a predetermined storage area corresponding to the screen changeover switch is set in advance, and a flag is stored in the predetermined storage area. Each time the screen changeover switch is operated, the flag is turned ON. The predetermined storage area may store not only the flag but also an identification ID (screen number or the like) of the switching destination screen.

尚、アイテム生成部51は、常時、このフラグを監視しており、フラグONとなる毎に、上記アイテムリスト56の生成処理を実行する。すなわち、アイテムリスト56の現データを消去して、画面データ22から上記切替先スクリーンの各アイテムの情報を抽出して、これをアイテムリスト56に格納する。   Note that the item generation unit 51 constantly monitors this flag, and executes the generation process of the item list 56 every time the flag is turned ON. That is, the current data in the item list 56 is deleted, information on each item on the switching destination screen is extracted from the screen data 22, and stored in the item list 56.

上記ステップS12の判定処理は、例えば一例としては上記フラグを参照して行うものであり、フラグONであればスクリーン切替中と判定して(ステップS12,YES)、ステップS13へ移行する。ステップS13では通信メモリ57を検索して例えば後述する該当レコードを検出し、該当レコードについてデータ格納済みか否か(データ74に何らかのデータが格納されているか否か;先読みデータが存在するか否か)をチェックする(ステップS14)。   For example, the determination process in step S12 is performed with reference to the flag. If the flag is ON, it is determined that the screen is being switched (step S12, YES), and the process proceeds to step S13. In step S13, the communication memory 57 is searched to detect a corresponding record to be described later, for example, whether data has been stored for the corresponding record (whether any data is stored in the data 74; whether pre-read data exists) ) Is checked (step S14).

ここで、上記ステップS14の判定は、一例としては、上記切替先スクリーンの全てのアイテムについて実行する。但し、上記切替候補スクリーンが複数ある場合には、通信メモリ57にはこれら複数の切替候補スクリーンに係わる多数のアイテムのデータが格納されていることになる。よって、これら多数のアイテムの中から上記切替先スクリーンのアイテムを判別する必要がある。その為に、例えば一例としては、通信メモリ57の各レコードには、そのレコード(アイテム)に対応するスクリーンの上記識別ID(画面番号等)も記憶されるようにしてもよいが、この例に限らない。   Here, as an example, the determination in step S14 is performed for all items on the switching destination screen. However, when there are a plurality of switching candidate screens, the communication memory 57 stores data of many items related to the plurality of switching candidate screens. Therefore, it is necessary to determine the item of the switching destination screen from among these many items. Therefore, for example, as an example, each record in the communication memory 57 may store the identification ID (screen number, etc.) of the screen corresponding to the record (item). Not exclusively.

何れにしても、通信メモリ57において上記切替先スクリーンのアイテムに対応するレコード(該当レコード)全てについて、上記ステップS14の判定を行う。そして、該当レコードのなかで上記データ格納済みと判定される(ステップS14,YES)レコード(コピー対象レコード)は全て、そのデータを共有メモリ55にコピーする(ステップS15)。例えば、上記各コピー対象レコードのデータ項目71〜73とデータ74を、共有メモリ55のデータ項目61〜63とデータ64にコピーする。尚、その際、データ未格納のレコードに関しても、そのデータ項目71〜73は共有メモリ55のデータ項目61〜63にコピーするようにしてもよい。   In any case, the determination in step S14 is performed for all records (corresponding records) corresponding to the items of the switching destination screen in the communication memory 57. Then, all the records (copy target records) that are determined to have been stored in the record (YES in step S14) are copied to the shared memory 55 (step S15). For example, the data items 71 to 73 and the data 74 of each copy target record are copied to the data items 61 to 63 and the data 64 of the shared memory 55. At this time, the data items 71 to 73 may be copied to the data items 61 to 63 of the shared memory 55 even for records in which no data is stored.

尚、上記共有メモリ55へのコピーを実行する前に、共有メモリ55の既存データを全消去するようにしてもよい。
一方、上記切替先スクリーンの各アイテムのなかに上記ステップS14の判定がNOとなるアイテム(データ取得対象アイテム)が1以上ある場合には、各データ取得対象アイテム毎に、ステップS16、S17の処理によって外部メモリアクセスを行ってデータ取得して、ステップS19の処理によって当該取得データを共有メモリ55の該当レコードのデータ64に格納する処理を実行する。尚、この場合の外部メモリアクセス先は、上記ステップS11で作成したメモリリスト90に基づくのではなく、上記通信メモリ57のデバイス名72とアドレス73とに基づくものとするが、この例に限らない。
Note that all existing data in the shared memory 55 may be erased before the copy to the shared memory 55 is executed.
On the other hand, when there are one or more items (data acquisition target items) for which the determination in step S14 is NO among the items on the switching destination screen, the processing in steps S16 and S17 is performed for each data acquisition target item. The external memory is accessed to acquire data, and the process of storing the acquired data in the data 64 of the corresponding record in the shared memory 55 is executed by the process of step S19. The external memory access destination in this case is not based on the memory list 90 created in step S11, but based on the device name 72 and address 73 of the communication memory 57, but is not limited to this example. .

勿論、切替先スクリーン上の全てのアイテムについて上記ステップS14の判定がYESとなる場合には、上記ステップS16,S17等の処理は行う必要はない。勿論、これはスクリーン切替時の話であり、切替後は定期的に現在表示中のスクリーン上の各アイテムについてステップS16,S17等の処理を実行することになる。   Of course, if the determination in step S14 is YES for all items on the switching destination screen, the processes in steps S16 and S17 need not be performed. Of course, this is a story at the time of screen switching, and after the switching, processing such as steps S16 and S17 is periodically executed for each item on the currently displayed screen.

尚、上記ステップS13の処理実行前に、上記フラグをフラグOFFにする処理を行ってもよい。更に、上記メモリリスト90の全データを処理済み状態としてもよい(これによってステップS23を強制的にNO判定とする)。   Note that the flag may be turned off before the process of step S13 is executed. Further, all the data in the memory list 90 may be processed (this forces step S23 to be NO).

尚、上記ステップS12の判定がYESとなる場合の処理(特にステップS13、S14、S15の処理)は、上述した一例に限らない。例えば、アイテム生成部51は、上記のようにフラグONに応じてアイテムリスト56を生成し直すが、これに伴って共有メモリ55も生成し直すようにしてもよい。この例の場合、例えば上記ステップS15の処理の際に、共有メモリ55のデータ項目61〜63が既に切替先スクリーンに応じたものとなっている場合には、データ74をデータ64にコピーするだけでよい(他のデータ項目までコピーする必要はない)。   In addition, the process (especially the process of step S13, S14, S15) when determination of the said step S12 becomes YES is not restricted to the example mentioned above. For example, the item generation unit 51 regenerates the item list 56 according to the flag ON as described above, but the shared memory 55 may be regenerated along with this. In the case of this example, for example, when the data items 61 to 63 in the shared memory 55 already correspond to the switching destination screen in the process of step S15, the data 74 is simply copied to the data 64. (There is no need to copy other data items).

以上、スクリーン切替指示があった場合の処理について説明した。
一方、スクリーン切替指示が無い場合には(ステップS12,NO)、上記ステップS11で作成したメモリリスト90に基づいて、現在表示中のスクリーン上の各アイテムについて、ステップS16−S23間の処理をステップS23がNOとなるまで繰り返し実行する。
The processing when the screen switching instruction is given has been described above.
On the other hand, if there is no screen switching instruction (step S12, NO), the process between steps S16-S23 is performed for each item on the screen currently displayed based on the memory list 90 created in step S11. The process is repeated until S23 becomes NO.

上記ステップS16に関して、上記メモリ読込コマンドには、上記メモリリスト90のデバイス名91やアドレス92等による割当メモリアドレスの情報が含まれる。接続機器4は、この割当メモリアドレスが示す記憶領域からデータを読み出して、この読出しデータを返信する応答処理を行う。但し、通信エラーが生じる場合もあり、この場合には(ステップS18,YES)、共有メモリ55の該当レコードの上記エラー情報65に“エラー”を格納して(ステップS22)、ステップS23へ移行する。   Regarding the step S16, the memory read command includes information on the allocated memory address by the device name 91 and the address 92 of the memory list 90. 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. However, a communication error may occur. In this case (step S18, YES), “error” is stored in the error information 65 of the corresponding record in the shared memory 55 (step S22), and the process proceeds to step S23. .

通信処理部54は、通信エラーが無く(ステップS18,NO)接続機器4から正常応答があった場合には(ステップS17)、この応答に含まれる読出しデータを、上記共有メモリ55において処理対象レコードに相当するレコードにおける上記データ64の欄に上書き格納する(ステップS19)。但し、上記処理対象レコードに相当するレコード(該当レコードとする)が、共有メモリ55ではなく、通信メモリ57に存在する場合がある。これは、上記処理対象レコードが、後述するステップS31の処理で一時的にメモリリスト90に追加されている場合である。   If there is no communication error (NO in step S18) and there is a normal response from the connected device 4 (step S17), the communication processing unit 54 stores the read data included in this response in the shared memory 55 as a processing target record. Is overwritten and stored in the column of the data 64 in the record corresponding to (step S19). However, a record corresponding to the processing target record (referred to as a corresponding record) may exist in the communication memory 57 instead of the shared memory 55. This is a case where the record to be processed is temporarily added to the memory list 90 in the process of step S31 described later.

例えば上記ステップS19が正常に実行された場合にはステップS20で合成無し(ステップS20,NO)と判定してステップS23へ移行する。一方、上記該当レコードが共有メモリ55に無い場合には“合成あり”(ステップS20,YES)と判定して、上記ステップS17で取得して読出しデータを、通信メモリ57における該当レコードのデータ74に格納する(ステップS21)。そして、ステップS23へ移行する。   For example, when step S19 is normally executed, it is determined in step S20 that there is no synthesis (NO in step S20), and the process proceeds to step S23. On the other hand, if the corresponding record does not exist in the shared memory 55, it is determined that “compositing is present” (step S20, YES), and the read data acquired in step S17 is stored in the data 74 of the corresponding record in the communication memory 57. Store (step S21). Then, the process proceeds to step S23.

尚、ステップS11の処理は、図では図13等の処理が実行される毎に最初に行われることになるが、この例に限らない。共有メモリ55の内容が変わらない限り(つまり、スクリーン切替が行われない限り)、メモリリスト90を逐一作成する必要性はないからである。勿論、スクリーン切替が行われた場合には、共有メモリ55の内容が切替先スクリーンに応じたものに変更されるので、ステップS11の処理を実行する必要がある。その意味では、例えば、ステップS12がYESとなった場合には、それに応じた上記各種処理実行完了後に例えばステップS23がNOとなった直後などに、ステップS11の処理を実行するようにしてもよい。   In addition, although the process of step S11 is first performed every time the process of FIG. 13 etc. is performed in the figure, it is not restricted to this example. This is because it is not necessary to create the memory list 90 one by one unless the contents of the shared memory 55 are changed (that is, unless screen switching is performed). Of course, when the screen is switched, the contents of the shared memory 55 are changed to those corresponding to the switching destination screen, so that the process of step S11 needs to be executed. In that sense, for example, when step S12 becomes YES, the process of step S11 may be executed immediately after the completion of the various processes corresponding thereto, for example, immediately after step S23 becomes NO. .

メモリリスト90に未処理のレコードが残っている場合には(ステップS23,YES)ステップS12に戻り、未処理のレコードが無くなったら(ステップS23,NO)、従来では処理終了であったが、本処理では空き時間があれば(ステップS24,YES)、切替候補スクリーンに関する下記のデータ先読み処理を実行する。   If an unprocessed record remains in the memory list 90 (step S23, YES), the process returns to step S12. If there is free time in the process (step S24, YES), the following data prefetching process regarding the switching candidate screen is executed.

まず最初に、通信メモリ57に基づいてメモリリストP2を生成する(ステップS26)。メモリリストP2は、データ構造自体は上記メモリリスト90と同じであるので、図11(a)に示す各データ項目91〜94を用いて説明するものとする。   First, the memory list P2 is generated based on the communication memory 57 (step S26). Since the data structure itself of the memory list P2 is the same as that of the memory list 90, it will be described using the data items 91 to 94 shown in FIG.

本例では、例えば、本処理が行われる毎に、メモリリストP2の各レコードのうちの任意の1つのレコードを処理対象として、データ先読み処理を実行する。これは、例えば、データ未取得のアイテムを優先的に処理対象とする。すなわち、メモリリストP2の各レコードのなかでデータ93に格納データが無いレコードがある場合には(ステップS27,YES)これを処理対象レコードとする。データ未取得のレコードが複数ある場合には、例えば上から順番に(登録順に)処理対象レコードとする(ステップS28)。   In this example, for example, every time this process is performed, the data prefetching process is executed with any one of the records in the memory list P2 as a processing target. For example, an item for which data has not been acquired is preferentially processed. That is, if there is a record that does not contain stored data in the data 93 among the records in the memory list P2 (step S27, YES), this is set as a process target record. If there are a plurality of records for which data has not been acquired, for example, the records are processed in order from the top (registration order) (step S28).

一方、メモリリストP2の全レコードがデータ取得済みである場合には(ステップS27,NO)、最も古いデータのレコードを処理対象レコードとする(ステップS29)。これは、例えば、通信メモリ57の各レコードのなかで更新時間75のデータ値が最も小さいレコードを判別し、このレコードに対応するメモリリストP2のレコードを処理対象レコードとする。   On the other hand, when all the records in the memory list P2 have been acquired (step S27, NO), the oldest data record is set as a process target record (step S29). For example, the record having the smallest data value of the update time 75 is determined from the records in the communication memory 57, and the record in the memory list P2 corresponding to this record is set as the processing target record.

尚、メモリリストP2に、更新時間75をコピーしたデータ項目(不図示の更新時間95とする)を設けるようにしてもよい。この場合には、ステップS29の処理は、メモリリストP2の各レコードのなかで上記更新時間95のデータ値が最も小さいレコードを、処理対象レコードとすることになる。   It should be noted that a data item (referred to as an update time 95 (not shown)) obtained by copying the update time 75 may be provided in the memory list P2. In this case, in the process of step S29, the record with the smallest data value of the update time 95 among the records in the memory list P2 is set as the process target record.

そして、上記処理対象レコードについて、上記ステップS16,S17と略同様にして、メモリ読込コマンドの生成・送信と、応答受信を行う(ステップS32,S33)。そして、通信エラー無く(ステップS34,NO)正常に応答受信した場合には、受信データを通信メモリ57の該当レコードのデータ74に上書き格納する(ステップS35)。更に、その際、上記更新時間75を更新する(例えば、起動時から現在時点までの経過時間を格納する)。尚、通信エラーがあった場合には(ステップS34,YES)、未処理とする(ステップS36)。   Then, the memory record command is generated / transmitted and a response is received (steps S32, S33) in substantially the same manner as steps S16, S17. If there is no communication error (NO in step S34) and the response is normally received, the received data is overwritten and stored in the data 74 of the corresponding record in the communication memory 57 (step S35). Further, at that time, the update time 75 is updated (for example, the elapsed time from the start to the current time is stored). If there is a communication error (step S34, YES), it is not processed (step S36).

あるいは、上記ステップS28またはS29で処理対象レコードを決定した後、当該処理対象レコードに係わる外部メモリアクセス処理を、現在表示中スクリーンに係わる外部メモリアクセス処理と合成した方がよいか否かを判定するようにしてもよい(ステップS30)。この判定方法の具体例は、既に述べたので、ここでは省略する。   Alternatively, after determining the processing target record in step S28 or S29, it is determined whether it is better to combine the external memory access process related to the processing target record with the external memory access process related to the currently displayed screen. You may make it like (step S30). Since a specific example of this determination method has already been described, it is omitted here.

合成した方が良いと判定した場合には(ステップS30,YES)、処理対象レコードを上記メモリリスト90に一時的に合成(追加格納)するようにしてもよい(ステップS31)。この場合、処理対象レコードはメモリリストP2からは削除する。   If it is determined that combining is better (step S30, YES), the processing target record may be temporarily combined (added storage) in the memory list 90 (step S31). In this case, the processing target record is deleted from the memory list P2.

上記ステップS31の処理が実行されたアイテムに関しては、現在表示中のスクリーンに関する割当メモリ領域からのデータ取得処理と一緒にデータの先読み処理が行われることになる。そして、上記ステップS21の処理によって、先読み処理による取得データは、通信メモリ57の該当レコードのデータ74に上書き格納されることになる。   For the item for which the process of step S31 has been executed, the data prefetching process is performed together with the data acquisition process from the allocated memory area relating to the currently displayed screen. The acquired data obtained by the prefetch process is overwritten and stored in the data 74 of the corresponding record in the communication memory 57 by the process of step S21.

尚、図13〜図16は、上記図6のステップS55で説明した選定方法のうち基本的な選定方法に対応する処理例を示すものであり、この例に限るものではない。ステップS55で説明した他の選定方法も加わるようにしてもよいが、その具体例は省略する。   13 to 16 show processing examples corresponding to the basic selection method among the selection methods described in step S55 of FIG. 6 described above, and the present invention is not limited to this example. Other selection methods described in step S55 may be added, but specific examples thereof are omitted.

図17は、アイテム処理部53の処理フローチャート図である。
上記の通り、図17の処理は、アイテム処理スケジュール部52の管理のもとでサイクリックに実行される。
FIG. 17 is a processing flowchart of the item processing unit 53.
As described above, the processing in FIG. 17 is cyclically executed under the management of the item processing schedule unit 52.

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

すなわち、アイテムリスト56においてフラグ87が“未処理”であるレコードのなかの任意のレコードを処理対象レコードとして、該処理対象レコードを参照してそのデバイス名84、アドレス85等を取得して(ステップS42)、これらを用いて共有メモリ55の該当レコードを検索してそのデータを取得する(ステップS43)。つまり、例えば、そのデバイス名62及びアドレス63が、上記デバイス名84及びアドレス85と同一であるレコードが、上記該当レコードである。そして、該当レコードのデータ64とエラー情報65をメモリ情報100として取得する(ステップS43)。   That is, in the item list 56, an arbitrary record among the records whose flag 87 is “unprocessed” is set as a processing target record, and the device name 84, the address 85, and the like are acquired by referring to the processing target record (step S42), using these, the corresponding record in the shared memory 55 is searched to acquire the data (step S43). That is, for example, a record whose device name 62 and address 63 are the same as the device name 84 and address 85 is the corresponding record. Then, data 64 and error information 65 of the corresponding record are acquired as memory information 100 (step S43).

尚、メモリ情報100は、図11(b)に示すデータ101、エラー情報102から成り、これらは上記取得したデータ64とエラー情報65である。
そして、エラー情報102が“エラー”ではないならば(ステップS44,NO)、データ101と上記処理対象レコードの情報(アイテムの画像や座標、サイズ等)を用いた通常のアイテム描画処理(例えばRAM13上に展開する)を行う(ステップS45)。そして、上記処理対象レコードの処理済みフラグ87をフラグON(処理済み)とする(ステップS46)。
The memory information 100 includes data 101 and error information 102 shown in FIG. 11B, which are the acquired data 64 and error information 65.
If the error information 102 is not “error” (step S44, NO), a normal item drawing process (for example, the RAM 13) using the data 101 and information of the processing target record (item image, coordinates, size, etc.). Is expanded (step S45). Then, the processed flag 87 of the processing target record is set to ON (processed) (step S46).

一方、エラー情報102が“エラー”の場合には(ステップS44,YES)、上記ステップS45の処理を実行することなく、そのまま上記ステップS46の処理を実行する。   On the other hand, if the error information 102 is “error” (step S44, YES), the process of step S46 is executed as it is without executing the process of step S45.

そして、未処理のレコードが残っている場合には(ステップS47,YES)、ステップS42に戻る。全レコードについて処理実行したら(ステップS47,NO)、本処理を終了する。   If an unprocessed record remains (step S47, YES), the process returns to step S42. When the process is executed for all the records (step S47, NO), this process ends.

上記アイテム処理部53の処理自体は、従来と略同様であってよい。尚、従来より、ステップS43でデータ64が無かった場合には、ステップS44の判定がYESとなり、以ってアイテム描画を行わないことになる。この為、例えばスクリーン切替直後等で未だ共有メモリ55に何もデータが格納されていない場合には、割当メモリ領域からデータ取得して共有メモリ55に格納する処理が完了するまでは、アイテム描画が行われないことになる。つまり、上記処理が完了するまでは切替先のスクリーンの表示が行われないことになり、スクリーン切替に時間が掛かることになる。本手法では、この様な従来の問題を解消できる。   The process itself of the item processing unit 53 may be substantially the same as the conventional one. Conventionally, if there is no data 64 in step S43, the determination in step S44 is YES, and no item drawing is performed. For this reason, if no data is stored in the shared memory 55 yet, for example, immediately after screen switching, item drawing is not performed until the processing for acquiring data from the allocated memory area and storing it in the shared memory 55 is completed. Will not be done. That is, the screen to be switched is not displayed until the above processing is completed, and it takes time to switch the screen. This method can solve such a conventional problem.

図18に、各処理部の処理時間の一例を示す。
アイテム処理スケジュール部52は、上述したように、サイクリックに(図示の現在画面のアイテム処理時間;表示サイクル)、アイテム処理部53を起動して例えば図17に示す処理を実行させる。
FIG. 18 shows an example of the processing time of each processing unit.
As described above, the item processing schedule unit 52 cyclically activates the item processing unit 53 to execute the processing shown in FIG. 17, for example (item processing time of the current screen shown in the figure; display cycle).

各通信処理部54は、例えば基本的には、アイテム処理部53が任意のタイミングで図17の処理を実行完了した後、次に図17の処理を実行するまでの間に、現在表示中スクリーンに係わるデータ取得処理(次の外部メモリアクセス処理)を実行完了していればよい。従来より、各通信処理部54の処理が、余裕を持って行われるように設定されている場合が多いので、図示のように空き時間が生じる可能性が高い。   Each communication processing unit 54, for example, basically displays the currently displayed screen after the item processing unit 53 completes the processing of FIG. 17 at an arbitrary timing until the next processing of FIG. It is sufficient that the data acquisition process (next external memory access process) related to is completed. Conventionally, since the processing of each communication processing unit 54 is often set to be performed with a margin, there is a high possibility that idle time will occur as illustrated.

この様に、通信処理部54に関しては、各表示サイクル毎に、所定の通信処理(現在表示中のスクリーン上の各アイテム毎に、その割当メモリ領域の格納データを取得して共有メモリ55に記憶する処理)の実行時間と、空き時間が生じる。これより、本手法では、この空き時間を利用して、上記データ先読み処理を実行する。   In this way, with respect to the communication processing unit 54, for each display cycle, predetermined communication processing (for each item on the currently displayed screen, the storage data in the allocated memory area is acquired and stored in the shared memory 55. Execution time and idle time occur. Thus, in the present method, the data prefetching process is executed using this idle time.

上述したように、本例のプログラマブル表示器1によれば、プログラマブル表示器におけるスクリーン切替えを、迅速に行えるようにできる。
As described above, according to the programmable display 1 of this example, screen switching in the programmable display can be performed quickly.

Claims (8)

表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第1内部メモリに格納する第1データ取得手段と、
前記第1内部メモリの格納データに基づいて前記表示中のスクリーンに係わる画面表示/更新を行う画面表示手段と、
複数のスクリーン間の遷移関係を示す画面関連付け情報または前記表示中の任意のスクリーン上の特定のアイテムのデータに基づいて、前記表示中のスクリーンからの切替先と成り得る切替先候補スクリーンを決定し、表示中ではない該切替先候補スクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第2内部メモリに格納する第2データ取得手段と、
前記任意のスクリーンから他のスクリーンへの切替指示があると、前記第2内部メモリの格納データを用いて前記他のスクリーンへの切替えを行うスクリーン切替処理手段と、を有し、
前記第1データ取得手段によるデータ取得・格納処理が優先的に実行され、前記第2データ取得手段によるデータ取得・格納処理は空き時間に実行され、
前記第2データ取得手段は、処理実行毎に、前記他のスクリーン上の各アイテムのなかの少なくとも一部のアイテムを処理対象アイテムとすることを特徴とするプログラマブル表示器。
First data acquisition means for acquiring data from an external memory related to each item on an arbitrary screen being displayed, and storing the acquired data in a first internal memory;
Screen display means for displaying / updating a screen related to the screen being displayed based on data stored in the first internal memory;
A switching destination candidate screen that can be a switching destination from the screen being displayed is determined based on screen association information indicating a transition relationship between a plurality of screens or data of a specific item on any screen being displayed. Second data acquisition means for acquiring data from an external memory related to each item on the switching destination candidate screen that is not being displayed, and storing the acquired data in a second internal memory;
If there is a switching instruction to the other screen from the arbitrary screen, it has a, a screen switching processing means for switching to the other screen using the data stored in the second internal memory,
The data acquisition / storage process by the first data acquisition unit is preferentially executed, the data acquisition / storage process by the second data acquisition unit is executed in a free time,
The said 2nd data acquisition means makes at least one part item of each item on the said other screen a process target item for every process execution, The programmable display characterized by the above-mentioned.
前記第2データ取得手段は、前記第2内部メモリに未だデータが格納されていないアイテムを、優先的に前記処理対象アイテムに選定することを特徴とする請求項1記載のプログラマブル表示器。The programmable display device according to claim 1, wherein the second data acquisition unit preferentially selects an item whose data is not yet stored in the second internal memory as the processing target item. 前記他のスクリーン上の全アイテムについて前記第2内部メモリにデータが格納されている場合には、最も古いデータのアイテムを優先的に前記処理対象アイテムに選定することを特徴とする請求項1または2記載のプログラマブル表示器。The data of the oldest data is preferentially selected as the processing target item when data is stored in the second internal memory for all items on the other screen. The programmable display according to 2. 前記スクリーン切替処理手段は、前記第2内部メモリの格納データを前記第1内部メモリに格納することによって、前記他のスクリーンへの切替えを実現させることを特徴とする請求項1乃至3のいずれか1項に記載のプログラマブル表示器。 The screen switching processing means realizes switching to the other screen by storing data stored in the second internal memory in the first internal memory . The programmable display according to item 1 . 前記スクリーン切替処理手段が前記第2内部メモリの格納データを前記第1内部メモリに格納することによって、スクリーン切替時には、前記第1データ取得手段の処理が行われなくても、前記画面表示手段によって前記他のスクリーンに係わる画面表示が行われることを特徴とする請求項記載のプログラマブル表示器。 The screen switching processing means stores the data stored in the second internal memory in the first internal memory, so that when the screen is switched, the screen display means does not perform the processing of the first data acquisition means. The programmable display according to claim 4, wherein screen display relating to the other screen is performed. スクリーン切替時に、前記他のスクリーン上の各アイテムのなかに前記第2内部メモリにデータ格納されていないアイテムがある場合には、該アイテムに関しては前記第1データ取得手段によるデータ取得と前記第1内部メモリへのデータ格納が行われることで、前記他のスクリーンへの切替えが実現されることを特徴とする請求項1乃至4のいずれか1項に記載のプログラマブル表示器。 When there is an item that is not stored in the second internal memory among the items on the other screen at the time of screen switching, the data acquisition by the first data acquisition unit and the first by data stored to the internal memory is performed, the programmable display device according to any one of claims 1 to 4, characterized in that switching to the other screen can be realized. 前記他のスクリーンは、前記表示中の任意のスクリーンからの切替先と成り得る1以上のスクリーンであることを特徴とする請求項1乃至6のいずれか1項に記載のプログラマブル表示器。 The other screens are programmable display device according to any one of claims 1 to 6, characterized in that one or more screens that can be a switching destination from any screen in the display. プログラマブル表示器のコンピュータを、
表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第1内部メモリに格納する第1データ取得手段と、
前記第1内部メモリの格納データに基づいて前記表示中のスクリーンに係わる画面表示/更新を行う画面表示手段と、
複数のスクリーン間の遷移関係を示す画面関連付け情報または前記表示中の任意のスクリーン上の特定のアイテムのデータに基づいて、前記表示中のスクリーンからの切替先と成り得る切替先候補スクリーンを決定し、表示中ではない該切替先候補スクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第2内部メモリに格納する第2データ取得手段と、
前記任意のスクリーンから他のスクリーンへの切替指示があると、前記第2内部メモリの格納データを用いて前記他のスクリーンへの切替えを行うスクリーン切替処理手段、として機能させ
前記第1データ取得手段によるデータ取得・格納処理が優先的に実行させ、前記第2データ取得手段によるデータ取得・格納処理は空き時間に実行させ
前記第2データ取得手段は、処理実行毎に、前記他のスクリーン上の各アイテムのなかの少なくとも一部のアイテムを処理対象アイテムとする為のプログラム。
Programmable display computer,
First data acquisition means for acquiring data from an external memory related to each item on an arbitrary screen being displayed, and storing the acquired data in a first internal memory;
Screen display means for displaying / updating a screen related to the screen being displayed based on data stored in the first internal memory;
A switching destination candidate screen that can be a switching destination from the screen being displayed is determined based on screen association information indicating a transition relationship between a plurality of screens or data of a specific item on any screen being displayed. Second data acquisition means for acquiring data from an external memory related to each item on the switching destination candidate screen that is not being displayed, and storing the acquired data in a second internal memory;
When there is an instruction to switch from the arbitrary screen to another screen, it functions as a screen switching processing means for switching to the other screen using the data stored in the second internal memory ,
The data acquisition / storage process by the first data acquisition unit is preferentially executed, the data acquisition / storage process by the second data acquisition unit is executed in an idle time ,
The second data acquisition means is a program for setting at least some of the items on the other screens as processing target items for each processing execution .
JP2015501186A 2013-02-22 2013-02-22 Programmable display, its program Active JP6033394B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/054523 WO2014128918A1 (en) 2013-02-22 2013-02-22 Programmable display and program for same

Publications (2)

Publication Number Publication Date
JP6033394B2 true JP6033394B2 (en) 2016-11-30
JPWO2014128918A1 JPWO2014128918A1 (en) 2017-02-02

Family

ID=51390745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015501186A Active JP6033394B2 (en) 2013-02-22 2013-02-22 Programmable display, its program

Country Status (4)

Country Link
JP (1) JP6033394B2 (en)
CN (1) CN104995590B (en)
TW (1) TWI549049B (en)
WO (1) WO2014128918A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6474253B2 (en) * 2014-12-26 2019-02-27 株式会社キーエンス Display system
US10303149B2 (en) * 2015-01-28 2019-05-28 Mitsubishi Electric Corporation Intelligent function unit and programmable logic controller system
US11354194B2 (en) * 2019-06-26 2022-06-07 Mitsubishi Electric Corporation Programmable display device and data management method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6429974A (en) * 1987-07-24 1989-01-31 Nec Corp Document displaying method
JPH11212628A (en) * 1998-01-28 1999-08-06 Omron Corp Display device for control system
JP2002259013A (en) * 2001-03-02 2002-09-13 Digital Electronics Corp Image display method
JP2006331278A (en) * 2005-05-30 2006-12-07 Digital Electronics Corp Programmable display, control program, storage medium recording the program, screen forming device, screen forming program, and storage medium recording the program
JP2007193425A (en) * 2006-01-17 2007-08-02 Keyence Corp Screen data preparation device, screen data edition method, and screen data edition program
JP2008191986A (en) * 2007-02-06 2008-08-21 Mitsubishi Electric Corp Programmable display device
JP5079179B1 (en) * 2012-03-19 2012-11-21 三菱電機株式会社 Screen data creation device for programmable display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200917802A (en) * 2007-10-15 2009-04-16 Chunghwa Telecom Co Ltd Real-time interactive menu system for programmable mobile device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6429974A (en) * 1987-07-24 1989-01-31 Nec Corp Document displaying method
JPH11212628A (en) * 1998-01-28 1999-08-06 Omron Corp Display device for control system
JP2002259013A (en) * 2001-03-02 2002-09-13 Digital Electronics Corp Image display method
JP2006331278A (en) * 2005-05-30 2006-12-07 Digital Electronics Corp Programmable display, control program, storage medium recording the program, screen forming device, screen forming program, and storage medium recording the program
JP2007193425A (en) * 2006-01-17 2007-08-02 Keyence Corp Screen data preparation device, screen data edition method, and screen data edition program
JP2008191986A (en) * 2007-02-06 2008-08-21 Mitsubishi Electric Corp Programmable display device
JP5079179B1 (en) * 2012-03-19 2012-11-21 三菱電機株式会社 Screen data creation device for programmable display

Also Published As

Publication number Publication date
TW201447727A (en) 2014-12-16
CN104995590B (en) 2018-11-09
WO2014128918A1 (en) 2014-08-28
TWI549049B (en) 2016-09-11
CN104995590A (en) 2015-10-21
JPWO2014128918A1 (en) 2017-02-02

Similar Documents

Publication Publication Date Title
JP6006399B2 (en) Programmable display, its program
JP6377263B2 (en) Method, apparatus, storage medium, and device for providing screenshot service in terminal device
CN109445891B (en) Picture configuration and display method, device and computer readable storage medium
JP6033394B2 (en) Programmable display, its program
JP4426492B2 (en) Programmable terminal system
JP2007036854A (en) Video display device
WO2015063847A1 (en) Programmable display apparatus and program
WO2015059816A1 (en) Programmable display device, and program
JP2006350956A (en) Information processor and program
JP4941674B2 (en) Simulation system
JP5883936B2 (en) Programmable controller system
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
JP5970080B2 (en) Programmable display, program
JP6207694B2 (en) Programmable display, program
JP6333279B2 (en) Programmable display, program
JP6095743B2 (en) Support device, program
JP2009129224A (en) Image operating device, image operating program, recording medium, and image operating method
JP2010055641A (en) Information processor and program
JP5883953B2 (en) Programmable controller system, its programmable display, drawing editor device, program
JPWO2014112059A1 (en) Programmable controller system, programmable display, support device, program
JP5296724B2 (en) Screen display data editing apparatus and screen display data editing program
JP2002014800A (en) Method and device for display control
JP2017021433A (en) Image processing unit, image processing method
JP2016072828A (en) Image display device, control method of the same, and program
CN113821202A (en) Management software file generation method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160928

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20161004

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161025

R150 Certificate of patent or registration of utility model

Ref document number: 6033394

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250