JP6033394B2 - Programmable display, its program - Google Patents
Programmable display, its program Download PDFInfo
- 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
Links
- 230000015654 memory Effects 0.000 claims description 275
- 238000012545 processing Methods 0.000 claims description 148
- 238000000034 method Methods 0.000 claims description 141
- 230000008569 process Effects 0.000 claims description 125
- 238000003860 storage Methods 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 21
- 230000007704 transition Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 110
- 238000010586 diagram Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000010187 selection method Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 238000009529 body temperature measurement Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008033 biological extinction Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/003—Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G5/005—Adapting incoming signals to the display format of the display terminal
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control 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/363—Graphics controllers
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/14—Solving problems related to the presentation of information to be displayed
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/12—Frame memory handling
- G09G2360/127—Updating 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
The invention of
その為に、特許文献1の発明では、画面切換ボタンの押下が検出されると、該押下された画面切換ボタンに対応付けられた画面を構成するデータを特定する情報を次画面用の読出データ情報として登録し、該画面切換ボタンの解放が検出されると、次画面用の読出データ情報に基づいて制御対象から読み出したデータを表示画面上に表示する現在画面用の読出データに置き換える。
プログラマブル表示器において、スクリーン切替えが行われる場合、切替先のスクリーン上の各アイテムの表示内容が、現在の上記割当メモリ領域の格納データの内容を反映さえたものである必要がある。逆に言えば、切替先のスクリーン上の各アイテムの割当メモリ領域の格納データを取得しないと、実質的に、切替先のスクリーンを表示できないことになる。 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
しかしながら、引用文献1の発明では、結局、画面切換ボタンが操作されてから処理を開始することになる。通常、上記割当メモリ領域の格納データを読出す処理は、時間が掛かるものであり、特に切替先のスクリーン上に多数のアイテムがある場合には、時間が掛かることになる。この為、上記特許文献1の手法では、画面切換ボタンの操作によって即座にスクリーン切替えが行われるようにすることを実現させるには、未だ不十分である。
However, according to the invention of
本発明の課題は、プログラマブル表示器におけるスクリーン切替えを、迅速に行えるようにできるプログラマブル表示器、そのプログラム等を提供することである。
本発明は、プログラマブル表示器において例えば下記の各手段を有する。
・ 表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第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;
以下、図面を参照して本発明の実施の形態について説明する。
図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
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
図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5に接続された構成となっている。プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。
The programmable controller system shown in FIG. 1 includes
作画エディタ装置5は、上記背景技術における支援装置に相当するものであり、上記操作表示画面をプログラマブル表示器1で表示させる為のデータ等(画面データ)を、ユーザが任意に作成できるように支援する機能を有する。従来では、予め各種アイテム画像が用意されており、ユーザは所望のアイテム画像を選択して所望の位置に配置させる作業を繰り返して、上記画面データ作成を行う。
The drawing
この画面データは、上記のように、複数のスクリーンより成るものであり、各スクリーン上には任意の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
上記画面データは、プログラマブル表示器1にダウンロードされる。
プログラマブル表示器1は、従来と同様に、画面データを構成する複数のスクリーンのうちの任意のスクリーンの表示を行う。尚、各スクリーン上には、そのスクリーンに係るアイテム表示が行われると共に、上記スクリーン切替用のスイッチも表示される。また、任意のスクリーン表示中には、例えば定期的に、上記表示内容リフレッシュ処理を行う。その為に、表示中のスクリーン上の各アイテムに係わる上記割当メモリ領域へのアクセスを行って、直近のデータを取得して、この直近のデータによりスクリーンの表示を行う。The screen data is downloaded to the
The
そして、任意のスクリーン表示中に、上記スクリーン切替スイッチが操作されると、このスイッチに対応する所定の他のスクリーンへと切替表示される。その際、上記のように、切替先となる他のスクリーン上の各アイテムについて直近のデータを得ていないと、他のスクリーンの表示が行われないことになる。 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
上記記憶装置には予め所定のアプリケーションプログラムが記憶されており、上記演算プロセッサがこのアプリケーションプログラムを実行することにより、作画エディタ装置5の各種機能が実現される。尚、作画エディタ装置5の各種機能は、既に簡単に説明した既存の機能であるので、これ以上は説明しない。
A predetermined application program is stored in the storage device in advance, and various functions of the drawing
また、プログラマブル表示器1も、ハードウェア構成自体は、一般的なものであってよい。よって、以下、図2を参照して簡単に説明する。
図2は、本例のプログラマブル表示器1のハードウェア構成例である。The
FIG. 2 is a hardware configuration example of the
プログラマブル表示器1は、上述した従来例と略同様に上述した画面データ等に基づく各スクリーン(操作表示画面)の表示やスクリーン切替等を行う機能を有する。但し、スクリーン切替に関しては従来と異なるものであり、詳しくは後述する。
The
図示のプログラマブル表示器1は、表示操作制御装置10と、タッチパネル18、ディスプレイ19、上記通信インタフェース2等を有する。
表示操作制御装置10は、CPU11、ROM12(フラッシュメモリ等)、RAM13、通信コントローラ14、グラフィックコントローラ15、タッチパネルコントローラ16等より成り、これらがバス17に接続されている。The illustrated
The display
CPU11は、表示操作制御装置10全体を制御する中央処理装置(演算プロセッサ)である。CPU11は、ROM12に予め格納されているプログラム(例えば後述する本体プログラム21等)を実行することで、プログラマブル表示器1の各種演算動作(処理)を行う。この処理についても、既に簡単に説明したが、後に詳細に説明するものとする。
The
また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、本例では、画面データ22は複数の(典型的には多数の)スクリーンのデータより構成される。各スクリーン(操作表示画面)のデータは、例えば上述した画面上に配置されたスイッチ、ランプ等の各アイテムの画像や表示位置座標や大きさ等のデータや、上記割当メモリアドレス等より成る。また、更に、各スクリーン毎に、上記スクリーン切替スイッチも配置されている。尚、スクリーン切替スイッチは、アイテムの一種と見做してよく、外部メモリアクセスを行わないタイプのアイテムである。
The
ここで、上記外部メモリアクセスは、従来では、現在表示中のスクリーン上のアイテムに関してのみ実行されるものであった。しかし、本手法では、現在表示中のスクリーンだけでなく切替先候補のスクリーンに関しても上記外部メモリアクセスを実行する。そして、取得したデータをプログラマブル表示器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
上記CPU11の処理によって、例えば上記画面データ22や上記外部メモリアクセスによる取得データ等に基づく表示対象データが、例えばRAM13(あるいは不図示のビデオRAM)上に展開(描画)される。詳しくは後述する。この描画に基づいてグラフィックコントローラ15が、ディスプレイ19上に上述した操作表示画面等を表示する。
By the processing of the
ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。ディスプレイ19上には、複数のスクリーンのうちの任意のスクリーンが表示される。各スクリーン上には上記の通り各アイテム画像が所定位置に表示される。
The
また、通信コントローラ14は、通信インタフェース2を介して、不図示のPLC本体等や温調装置等である接続機器4や作画エディタ装置5との通信(データ送受信等)を行う。
Further, the
オペレータ等によるタッチパネル18上での押圧操作(タッチ)位置の検知結果は、タッチパネルコントローラ16を介してCPU11等に取り込まれて解析される。例えば各アイテムの上記表示位置座標や大きさのデータ等に基づいて、解析することになる。例えば、スイッチの画像の表示位置をオペレータ等がタッチすると、CPU11等は、このスイッチに対する操作が行われたものと解析することになる。
The detection result of the pressing operation (touch) position on the
図3に、上記本システムのソフトウェア構成図を示す。
プログラマブル表示器1においては、本体プログラム21、画面データ22、通信プログラム23等の各種プログラム/データが、例えば上記ROM12(フラッシュメモリ等)に格納されている。これらのプログラム/データ等をCPU11が読出し・実行/参照等することで、プログラマブル表示器用の各操作表示画面(各スクリーン等)の表示制御等が行なわれる。FIG. 3 shows a software configuration diagram of the system.
In the
この操作表示画面は、上述した数値表示、ランプ、スイッチ等の各種アイテムの画像表示から成り、各アイテムの表示内容は、例えば各接続機器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
つまり、CPU11は、本体プログラム21と画面データ22と上記取得データに基づいて、上記操作表示画面の表示制御を実行する。その際、この操作表示画面上の各アイテム(各画面部品)の表示内容は、上記取得データの内容を反映させたものとなる(温度等の数値表示やランプの点灯/消灯など)。
That is, the
従って、スクリーン切替の際にも、切替先のスクリーンに係る各種アイテムそれぞれについて、その割当メモリ領域の直近の(現在の/最新の)格納データを反映させる形で、表示を開始する必要がある。その為に、従来では、スクリーン切替スイッチが操作されると、まず、切替先のスクリーン上の各アイテムに対応する各割当メモリ領域にアクセスしてデータ取得する必要があり、その為の処理時間が掛かっていた。しかし、本手法では、割当メモリ領域にアクセスしなくても、その割当メモリ領域の直近の格納データを反映させる表示を行うことができる。詳しくは後述する。 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
また、上記通信プログラム23も、例えば予め作画エディタ装置5側に格納されていた通信プログラムファイル33(その一部)が、プログラマブル表示器1にダウンロードされて格納されたものである。
Also, the
プログラマブル表示器1の通信プログラム23は、通信ライン6を介して接続機器4と通信を行うためのプログラムである。通常、接続機器4の機種毎等に固有の通信プロトコル(通信規定)を持ち、この通信規定に従って、プログラマブル表示器1−接続機器4間での通信を行う。そのため、通信プログラム23は、各接続機器4の機種毎等に開発が必要となる。尚、当然、CPU11などが通信プログラム23を実行することで、接続機器4との通信処理が実現される。
The
PLC本体等である接続機器4は、様々なメーカー・機種があり、各メーカー/機種毎に独自の通信プログラムがあり、上記通信プログラム23は、接続機器4のメーカー/機種に応じて場合によっては複数種類備えられるものとなる。
The
尚、プログラマブル表示器1−作画エディタ装置5間の通信は、例えば本体プログラム21と作画エディタ31とによって行う(通信機能が作画エディタ31に組み込まれている)。これについては特に関係ないので、図示・説明しない。
Communication between the
通信プログラム23は、通常、作画エディタ装置5内の不図示のHD(ハードディスク)内に、複数の通信プログラムファイル33群(各機種毎に開発済の複数の通信プログラム)として予め記憶されている。そして、作画エディタ装置5は、作画エディタ31によりユーザが任意の接続機器4を選択・指定すると、該選択された接続機器4に応じた通信プログラムファイル33を、プログラマブル表示器1に転送して、上記通信プログラム23として記憶させる。
The
尚、上記割当メモリ領域へのアクセスや画面表示等の各種処理を実現させるプログラムは、例えば本体プログラム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
ここで、作画エディタ装置5の作画エディタ31は、ユーザに所望の操作表示画面(その画面データ)を作成させる支援機能も有する。これは既に述べたように、予め作成済みの各種アイテムが、作画エディタ装置5のハードディスク等に記憶されている。作画エディタ31による操作表示画面の作成支援機能によって、これら各種アイテムが一覧表示されて、ユーザは所望のアイテムを選択して所望の位置に配置する。この機能自体は従来と略同様である。
Here, the drawing editor 31 of the drawing
尚、作画エディタ装置5は、例えばパソコン等であり、特に図示しないが一般的な汎用コンピュータの構成(CPU、記憶部(ハードディスク、メモリ等)、通信部、操作部(マウス等)、ディスプレイ)を有している。記憶部に予め記憶されているアプリケーションプログラムを、CPUが実行することにより、作画エディタ31の処理機能が実現される。但し、上記の通り、作画エディタ31の処理機能自体は、従来と同様であってよいので、これ以上詳細には説明しない。
Note that the drawing
図4は、本例のプログラマブル表示器1の機能ブロック図である。
本例のプログラマブル表示器1は、例えば図示の第1データ取得部41、画面表示部42、第2データ取得部43、スクリーン切替処理部44の各種機能部を有する。尚、これら各種機能部は、例えば上記ROM12等に予め記憶されている所定のアプリケーションプログラムを、上記CPU11が実行することにより実現される。FIG. 4 is a functional block diagram of the
The
第1データ取得部41は、表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第1内部メモリ(例えば後述する共有メモリ55)に格納する。
The first
画面表示部42(例えば後述するアイテム処理部53)は、上記第1内部メモリの格納データに基づいて上記表示中のスクリーンに係わる画面表示/更新を行う。
第2データ取得部43は、上記任意のスクリーンを表示中の状態で、バックグラウンドで、他のスクリーン上(例えば切替候補スクリーン上)の各アイテムに係わる外部メモリからデータを取得して、該取得データを第2内部メモリ(例えば後述する通信メモリ57)に格納する。The screen display unit 42 (for example, an
The second
尚、上記“バックグラウンドで”とは、例えば、上記他のスクリーン(例えば切替候補スクリーン)に関しては、データ取得は行うが、(少なくとも上記任意のスクリーンを表示中は)表示は行わないという意味であるが、この例に限らない。尚、以降の説明では、逐一“バックグラウンド”とは記載しないが、例えば後述する切替候補スクリーンのメモリ先読み処理は、“バックグラウンド”で実行されるものである。 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
尚、例えば後述する通信処理部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
また、上記スクリーン切替処理部44は、例えば上記第2内部メモリの格納データを上記第1内部メモリに格納する(例えばコピーする)。これによって、スクリーン切替時には、上記第1データ取得部41の処理が行われなくても、上記画面表示部42によって他のスクリーンに係わる画面表示が行われる。つまり、上記他のスクリーンへの切替えが実現される。
Further, the screen
但し、スクリーン切替時に、上記他のスクリーン上の各アイテムのなかに上記第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
また、上記スクリーン切替処理部44による上記他のスクリーンへの切替えは、上記のように第2内部メモリの格納データを用いて行うものであれば何でもよく、上記「第2内部メモリの格納データを上記第1内部メモリに格納する(例えばコピーする)」例に限るものではない。例えば他の例としては、上記第2内部メモリを上記第1内部メモリとして扱うようにメモリ管理制御する方法等がある。
The switching to the other screen by the screen
また、上記第1データ取得部41によるデータ取得・格納処理が優先的に実行され、上記第2データ取得部43によるデータ取得・格納処理は、空き時間に実行される。この為、例えば、第2データ取得部43は、その処理実行毎に、他のスクリーン上の各アイテムのなかの一部のアイテムを処理対象アイテムとする。換言すれば、他のスクリーン上の全アイテムについて一度に外部メモリからのデータ取得を行うのではなく、少しずつ(例えば一度に1つのアイテムだけ)データ取得を行う。その為、処理実行毎に処理対象アイテム(外部メモリからデータを取得するアイテム)を選定する必要がある。この選定方法は、様々であってよく、例えば未だ一度もデータを取得していないアイテムを、優先的に処理対象アイテムとするが、勿論、この例に限らない。
Further, the data acquisition / storage process by the first
図5は、本例のプログラマブル表示器1の概略的な動作例を示すフローチャート図である。
図6は、図5のステップS2の処理の詳細例を示すフローチャート図である。FIG. 5 is a flowchart showing a schematic operation example of the
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
画面関連付け情報は、例えば、画面データ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
但し、画面関連付け情報は、必ず作成されているとは限らない。これより、まず、画面関連付け情報の有無を判定する(ステップ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
尚、何れの場合でも、先読みメモリは、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
上記現在表示中のスクリーンに係わる割当メモリ領域(例えば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
When the
尚、例えば、アイテム生成部51とアイテム処理スケジュール部52とアイテム処理部53とは、本体プログラム21によって実現される。通信処理部54は、本体プログラム21と通信プログラム23とによって実現される。
For example, the
アイテム生成部51は、上記画面データ22等に基づいて、アイテムリスト56を生成する。これは、例えば、画面データ22の一部を抽出する形で生成する(更に後述する処理済みフラグ87を追加する)。
The
ここで、上記の通り、画面データ22は複数のスクリーンに係るデータから成り、アイテムリスト56には基本的に現在表示中のスクリーンに係るデータが格納される。これより、アイテム生成部51は、スクリーン切替スイッチが操作される毎に、既存のアイテムリスト56と共有メモリ55のデータを消去して、切替先スクリーンに応じた新たなアイテムリスト56と共有メモリ55を生成する(但し、この時点では共有メモリ55のデータ64にはデータは無く、後に例えば通信メモリ57のデータがコピーされることになる)。
Here, as described above, the
アイテム生成部51は、更に、通信メモリ57のデータが共有メモリ55にコピーされた後等に、通信メモリ57のデータを消去して、次の切替先候補のスクリーンに応じた新たな通信メモリ57を生成する(但し、この時点では通信メモリ57のデータ74にはデータは無い)。但し、この処理は、通信処理部54が行うものであってもよい。尚、上記“次の切替先候補のスクリーン”とは、上記切替先スクリーンにおけるスクリーン切替スイッチに対応するスクリーンである。
The
アイテム処理スケジュール部52は、アイテム処理部53による各アイテムの表示更新処理等のスケジュール管理を行う。つまり、アイテム処理スケジュール部52は、例えば定期的にアイテム処理部53を呼び出して例えば後述する図17の処理を実行させる(換言すれば、図17の処理をサイクリックに実行させる)。
The item
アイテム処理部53は、上記アイテムリスト56や後述する共有メモリ55の格納データに基づいて、各アイテム毎に、その画像を所定位置に表示すると共にその表示内容を更新する処理(例えばON/OFF画像切替えや数値表示の数値更新等)等を行う。
The
アイテム処理部53は、上記処理に伴って各種画像をRAM13上に描画(展開)する。これによって、グラフィックコントローラ15が当該描画データをディスプレイ上に表示することで、上記表示操作画面が表示されることになる。この描画データは、アイテム処理部53によって例えば後述する図17の処理実行毎に随時更新される。尚、アイテム処理部53の処理自体は、基本的に、従来と略同様であってよい。
The
通信処理部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
すなわち、図示の通信処理部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
同様に、図示の通信処理部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
但し、上記共有メモリ55の格納データの更新処理自体は、既存の処理と略同様である。本例の各通信処理部54は、上記既存処理だけでなく更に下記の新規処理を実行する。
すなわち、各通信処理部54は、更に、通信メモリ57の格納データを更新する処理を実行する。ここで、通信メモリ57には、上記切替候補スクリーンに係わるデータを格納する。上記の通り、例えば、現在表示中のスクリーン上のスクリーン切替スイッチに対応するスクリーンが、上記切替候補スクリーンである。However, the update process itself of the data stored in the shared
That is, each communication processing unit 54 further executes a process of updating data stored in the
そして、通信処理部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
上記新規処理は、通信メモリ57の格納データの更新処理と言える。この処理の一例が、上述した図6の処理である。
尚、上記のことから、通信メモリ57のデータ構造(各データ項目)は、基本的に、共有メモリ55と略同様である。共有メモリ55と通信メモリ57のデータ構造は、図9に示し、後に説明する。The new process can be said to be an update process of data stored in the
From the above, the data structure (each data item) of the
そして、任意のタイミングでユーザによってスクリーン切替スイッチが操作されたとき、通信処理部54が(あるいはアイテム生成部51等が)、通信メモリ57の格納データを共有メモリ55にコピー(上書き)する。これによって、外部メモリ(割当メモリ領域)にアクセスする必要なく、切替先スクリーンを表示させることができる。
When the screen switch is operated by the user at an arbitrary timing, the communication processing unit 54 (or the
ここで、上記アイテムリスト56、共有メモリ55、通信メモリ57の具体例について説明しておく。
図9(a)に共有メモリ55のデータ構造例、図9(b)に共有メモリ55のデータ格納例を示す。Here, specific examples of the
FIG. 9A shows a data structure example of the shared
図示の例では、共有メモリ55は、ポート61、デバイス名62、アドレス63、データ64、エラー情報65の各データ項目より成る。
ポート61は、上記通信ポートの識別情報等であり、実質的には通信相手の接続機器4を識別する情報となる。デバイス62は、通信相手の接続機器4内のメモリデバイス(外部メモリ)の識別情報である。アドレス63は、デバイス62が示す外部メモリにおける所定の記憶領域のアドレスであり、データ64にはこの記憶領域から取得したデータが格納される。In the illustrated example, the shared
The
尚、デバイス名62とアドレス63とが、各アイテムの上記“割当メモリアドレス”に相当すると見做してよい。これらは、例えば、後述するアイテムリスト56のデバイス名84、アドレス85をコピーしたものである。また、ポート61は、例えばデバイス名62に基づいて該当する接続機器4を判別することで判定した通信ポート番号等であってもよい。あるいは、後述するデバイス名84には、メモリデバイス名だけでなく通信ポート識別情報等も含まれていてもよい。
The
尚、エラー情報65には、接続機器4との通信エラー等があった場合に、そのエラー情報(図9(b)に示す“エラー”等)が格納される。
図9(c)に通信メモリ57のデータ構造例、図9(d)に通信メモリ57のデータ格納例を示す。The
FIG. 9C shows a data structure example of the
通信メモリ57は、ポート71、デバイス名72、アドレス73、データ74、更新時間75の各データ項目より成る。このうち、ポート71、デバイス名72、アドレス73、データ74の各データ項目は、上記共有メモリ55の各データ項目61,62,63,64と略同様であってよい。更新時間75には、データ74の格納データが更新される毎に、そのときの時間(例えば起動時からの経過時間等)が格納される。後述するデータ74の更新処理は、例えば全レコードのなかで更新時間75が最も小さい(換言すれば、前回の更新時から最も時間が経っている;最も古い)レコードが、更新処理対象レコードとなる。
The
例えば、図9(d)に示す例では、先頭レコード(更新時間75=‘5000’のレコード)が、更新処理対象レコードとなる。勿論、この例に限らず、例えば更新処理対象レコードが複数あってもよい。つまり、最も古いレコードだけでなく、2番目に古いレコードや3番目に古いレコードも、更新処理対象レコードとするようにしても構わない。
For example, in the example shown in FIG. 9D, the first record (update
また、図10(a)には、アイテムリスト56のデータ構造例を示す。
図示の例のアイテムリスト56は、アイテムタイプ81、座標82、サイズ83、デバイス名84、アドレス85、“アイテムタイプ毎のデータ”86、処理済みフラグ67の各データ項目より成る。FIG. 10A shows an example of the data structure of the
The
上記の通り、アイテムリスト56には、現在表示中のスクリーン上の各アイテムに関する所定情報が格納される。基本的に、各レコードが各アイテムに対応するものである。よって、スクリーンが切り替えられる毎に、アイテムリスト56は更新される。つまり、スクリーン切替時に、そのときのアイテムリスト56の格納データは消去されて、画面データ22に基づいて新たなデータが生成・格納されることになる。勿論、新たなデータは、切替先スクリーン上の各アイテムに係わるデータとなる。
As described above, the
アイテムタイプ81には、そのアイテムの種別(スイッチ、ランプ、数値表示等)を示すアイテム種別識別情報が格納される。尚、アイテム種別として更に“スクリーン切替スイッチ”等があってもよい。
The
また、デバイス名84とアドレス85は、各アイテムの上記外部メモリアクセスに係わる情報であり、上記割当メモリアドレスに相当する。つまり、デバイス名84が示す外部メモリにおけるアドレス85が示す記憶領域が、そのアイテムに割り当てられた領域(上記割当メモリ領域)である。この割当メモリ領域の格納データが、そのアイテムに係る監視/制御対象の現在の状態を示すものである。例えばアイテムタイプ81がランプであれば、ランプの点灯/消灯を示すフラグデータ等が上記格納データである。この格納データは、接続機器4側で随時更新される。また、割当メモリ領域の格納データが定期的に読み出されて、上記共有メモリ55の該当レコードのデータ64に一時的に記憶される。
The
“アイテムタイプ毎のデータ”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
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
図10(b)に、アイテムリスト56におけるスクリーン切替スイッチのデータ格納例を示す。
まず、スクリーン切替スイッチはスイッチの一種であるから、アイテムタイプ81には“スイッチ”が格納される。但し、この例に限らず、アイテム種別として“スクリーン切替スイッチ”が規定されている場合には、アイテムタイプ81には“スクリーン切替スイッチ”が格納される。本説明では、この例を用いるものとする。FIG. 10B shows a data storage example of the screen changeover switch in the
First, since the screen changeover switch is a kind of switch, the
また、外部メモリアクセスは必要ないアイテムであるので、デバイス名84とアドレス85の格納データは“なし”となる。
そして、“アイテムタイプ毎のデータ”86には、上記アイテム画像だけでなく、当該スクリーン切替スイッチに対応する切替先スクリーンの識別ID(画面番号等)が格納される。Further, since the external memory access is not required, the storage data of the
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
以下、上記通信処理部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
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
図11(a)に、このメモリリスト90のデータ構成例を示す。
図示の例では、メモリリスト90は、デバイス名91、アドレス92、データ93、エラー情報94の各データ項目より成る。尚、エラー情報94は必ずしも必要ない。FIG. 11A shows a data configuration example of the
In the illustrated example, the
例えば上記通信処理部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
その後は、生成したメモリリスト90を参照しながら、ステップS23の判定がNOとなるまで、図示のステップS12〜S23の間の処理を繰り返し実行する。
すなわち、メモリリスト90から未処理のレコードを取り出して(処理対象レコードとし)、この処理対象レコードの内容に基づくメモリ読込コマンドを生成して自己が担当する接続機器4に通信ライン6を介して送信する(ステップS16)。そして、このメモリ読込コマンドに対する接続機器4からの応答待ちとなる(ステップS17)。但し、ステップS16の処理を行う前に、現状チェックを行ってスクリーン切替中か否かを判定する(ステップS12)。Thereafter, while referring to the generated
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
これは、例えば、上記スクリーン切替スイッチに応じた所定の記憶領域が予め設定されており、この所定の記憶領域にはフラグが格納されている。そして、スクリーン切替スイッチが操作される毎に、フラグ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
上記ステップ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
ここで、上記ステップ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
何れにしても、通信メモリ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
尚、上記共有メモリ55へのコピーを実行する前に、共有メモリ55の既存データを全消去するようにしてもよい。
一方、上記切替先スクリーンの各アイテムのなかに上記ステップS14の判定がNOとなるアイテム(データ取得対象アイテム)が1以上ある場合には、各データ取得対象アイテム毎に、ステップS16、S17の処理によって外部メモリアクセスを行ってデータ取得して、ステップS19の処理によって当該取得データを共有メモリ55の該当レコードのデータ64に格納する処理を実行する。尚、この場合の外部メモリアクセス先は、上記ステップS11で作成したメモリリスト90に基づくのではなく、上記通信メモリ57のデバイス名72とアドレス73とに基づくものとするが、この例に限らない。Note that all existing data in the shared
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
勿論、切替先スクリーン上の全てのアイテムについて上記ステップ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
尚、上記ステップ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
以上、スクリーン切替指示があった場合の処理について説明した。
一方、スクリーン切替指示が無い場合には(ステップ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
上記ステップ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
通信処理部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
例えば上記ステップ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
尚、ステップ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
メモリリスト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
本例では、例えば、本処理が行われる毎に、メモリリスト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
一方、メモリリスト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
尚、メモリリスト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
そして、上記処理対象レコードについて、上記ステップ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
あるいは、上記ステップ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
尚、図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
As described above, the processing in FIG. 17 is cyclically executed under the management of the item
図17の処理例では、アイテム処理部53は、まず、アイテムリスト56の初期化処理を実行する(ステップS41)。これは、例えば、アイテムリスト56の全レコードの処理済みフラグ87を“未処理”にする。その後は、後述するステップS47がNOとなるまで、ステップS42〜S47の処理を繰り返し実行する。
In the processing example of FIG. 17, the
すなわち、アイテムリスト56においてフラグ87が“未処理”であるレコードのなかの任意のレコードを処理対象レコードとして、該処理対象レコードを参照してそのデバイス名84、アドレス85等を取得して(ステップS42)、これらを用いて共有メモリ55の該当レコードを検索してそのデータを取得する(ステップS43)。つまり、例えば、そのデバイス名62及びアドレス63が、上記デバイス名84及びアドレス85と同一であるレコードが、上記該当レコードである。そして、該当レコードのデータ64とエラー情報65をメモリ情報100として取得する(ステップS43)。
That is, in the
尚、メモリ情報100は、図11(b)に示すデータ101、エラー情報102から成り、これらは上記取得したデータ64とエラー情報65である。
そして、エラー情報102が“エラー”ではないならば(ステップS44,NO)、データ101と上記処理対象レコードの情報(アイテムの画像や座標、サイズ等)を用いた通常のアイテム描画処理(例えばRAM13上に展開する)を行う(ステップS45)。そして、上記処理対象レコードの処理済みフラグ87をフラグON(処理済み)とする(ステップS46)。The
If the
一方、エラー情報102が“エラー”の場合には(ステップS44,YES)、上記ステップS45の処理を実行することなく、そのまま上記ステップS46の処理を実行する。
On the other hand, if the
そして、未処理のレコードが残っている場合には(ステップ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
図18に、各処理部の処理時間の一例を示す。
アイテム処理スケジュール部52は、上述したように、サイクリックに(図示の現在画面のアイテム処理時間;表示サイクル)、アイテム処理部53を起動して例えば図17に示す処理を実行させる。FIG. 18 shows an example of the processing time of each processing unit.
As described above, the item
各通信処理部54は、例えば基本的には、アイテム処理部53が任意のタイミングで図17の処理を実行完了した後、次に図17の処理を実行するまでの間に、現在表示中スクリーンに係わるデータ取得処理(次の外部メモリアクセス処理)を実行完了していればよい。従来より、各通信処理部54の処理が、余裕を持って行われるように設定されている場合が多いので、図示のように空き時間が生じる可能性が高い。
Each communication processing unit 54, for example, basically displays the currently displayed screen after the
この様に、通信処理部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
上述したように、本例のプログラマブル表示器1によれば、プログラマブル表示器におけるスクリーン切替えを、迅速に行えるようにできる。
As described above, according to the
Claims (8)
前記第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.
表示中の任意のスクリーン上の各アイテムに係わる外部メモリからデータを取得して、該取得データを第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 .
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)
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)
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)
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 |
-
2013
- 2013-02-22 WO PCT/JP2013/054523 patent/WO2014128918A1/en active Application Filing
- 2013-02-22 JP JP2015501186A patent/JP6033394B2/en active Active
- 2013-02-22 CN CN201380069714.1A patent/CN104995590B/en active Active
-
2014
- 2014-02-12 TW TW103104557A patent/TWI549049B/en active
Patent Citations (7)
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 |