JPWO2015063847A1 - Programmable display, program - Google Patents
Programmable display, program Download PDFInfo
- Publication number
- JPWO2015063847A1 JPWO2015063847A1 JP2015544648A JP2015544648A JPWO2015063847A1 JP WO2015063847 A1 JPWO2015063847 A1 JP WO2015063847A1 JP 2015544648 A JP2015544648 A JP 2015544648A JP 2015544648 A JP2015544648 A JP 2015544648A JP WO2015063847 A1 JPWO2015063847 A1 JP WO2015063847A1
- Authority
- JP
- Japan
- Prior art keywords
- display
- image
- screen
- item
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- 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/34—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators for rolling or scrolling
-
- 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/42—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of patterns using a display memory without fixed position correspondence between the display memory contents and the display position on the screen
-
- 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/04—Changes in size, position or resolution of an image
- G09G2340/0464—Positioning
-
- 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
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/14—Display of multiple viewports
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Controls And Circuits For Display Device (AREA)
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
スクロール操作検出部102は、ユーザによるスクロール操作検出結果に基づいて、移動方向と移動量を求める。オフセット位置更新部103は、これら移動方向と移動量に基づいてオフセット位置を更新する。画像切出部104は、上記オフセット位置に基づいて上記スクリーン画像の一部を切り出して表示用メモリに格納する。表示制御部105は、上記表示用メモリに格納される画像を上記ディスプレイ上に表示する。スクロール操作検出部102は、アイテム画像が無い空き領域がタッチされた場合、スクロール操作開始と判定する。The scroll operation detection unit 102 obtains the movement direction and the movement amount based on the scroll operation detection result by the user. The offset position update unit 103 updates the offset position based on the movement direction and the movement amount. The image cutout unit 104 cuts out a part of the screen image based on the offset position and stores it in the display memory. The display control unit 105 displays an image stored in the display memory on the display. The scroll operation detection unit 102 determines that the scroll operation is started when an empty area without an item image is touched.
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 parts (items) are displayed on the screen of the programmable display. The screen of the programmable display is called 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, display position coordinates, and an address of an allocated memory area to be described later. In addition, some programs may be included. The item image is, for example, an image of a switch, an image of a lamp, or a “image of a type indicating a numerical value by a figure” such as a meter (meter or the like) or a bar graph.
上記各アイテムは、例えば、それぞれが任意の接続機器の任意の構成要素に対応して、当該構成要素の状態表示を行ったり、当該構成要素のON/OFFの指示を受け付けるものである。例えば、温調装置の温度測定値を数値表示するアイテムの場合、随時、現在の温度を数値で表示することになる。 Each of the items is for displaying the state of the component or accepting an ON / OFF instruction for the component corresponding to an arbitrary component of an arbitrary connected device, for example. For example, in the case of an item that displays the temperature measurement value of the temperature control device as a numerical value, the current temperature is displayed as a numerical value as needed.
上記各種アイテムに係る表示制御は、上記各アイテム毎に、例えば定期的に所定の処理を実行することで実現される。所定の処理とは、例えば、接続機器内のメモリデバイスの所定領域(割当メモリ領域)の格納データを読出して、この格納データに基づいてアイテムの表示内容を決定・表示するものである。尚、接続機器は、随時、各割当メモリ領域の格納データを更新している。例えば上記温調装置においては、上記温度測定値を随時更新している。 The display control related to the various items is realized, for example, by periodically executing a predetermined process for each item. The predetermined processing is, for example, reading stored data in a predetermined area (allocated memory area) of a memory device in the connected device, and determining / displaying the display content of the item based on the stored data. The connected device updates the stored data in each allocated memory area as needed. For example, in the temperature control device, the temperature measurement value is updated as needed.
例えば、“ランプ”のアイテムに関して、その割当メモリ領域の格納データは1ビットデータであり、このビットが‘0’の場合はランプ消灯、‘1’の場合はランプ点灯とするアイテム画像を、プログラマブル表示器で表示する。尚、割当メモリ領域の格納データは、上記の通り接続機器側で更新される。例えば接続機器における押しボタンがONの場合には‘1’が、OFFの場合には‘0’が、接続機器側の処理によって上記割当メモリ領域に格納される。 For example, with respect to the item “lamp”, the stored data in the allocated memory area is 1-bit data. When this bit is “0”, the item image to turn off the lamp, and when “1”, the lamp is turned on is programmable. Display on the display. The stored data in the allocated memory area is updated on the connected device side as described above. For example, “1” is stored in the allocated memory area when the push button on the connected device is ON, and “0” is stored when the push button is OFF.
尚、ここで、上記接続機器内のメモリデバイスの所定領域、すなわち割当メモリ領域を、監視メモリと呼ぶ場合もあるものとする。これより、上述したことは、各アイテム毎に任意の監視メモリが割り当てられており、この監視メモリの格納データに基づいて各アイテムの表示内容が更新制御されるものと言うこともできる。 Here, a predetermined area of the memory device in the connected device, that is, an allocated memory area may be referred to as a monitoring memory. From the above, it can be said that an arbitrary monitoring memory is assigned to each item, and the display content of each item is controlled to be updated based on the data stored in the monitoring memory.
また、上記監視メモリから読出したデータを、プログラマブル表示器内のメモリデバイスの所定領域(内部メモリと呼ぶ)に一時的に格納して、この格納データに基づいてアイテムの表示内容を決定・表示する構成もある。 Further, the data read from the monitoring memory is temporarily stored in a predetermined area (referred to as internal memory) of the memory device in the programmable display, and the display contents of the item are determined and displayed based on the stored data. There is also a configuration.
この例の場合、上記監視メモリの格納データを読み出して上記内部メモリに格納する処理は、プログラマブル表示器の通信機能部等が、例えば定期的に実行する。この通信機能部は、例えば、上記PLC本体や温調装置等の各種接続機器と通信を行って、各アイテム毎に、上記監視メモリの格納データを取得して、この取得データを上記内部メモリに上書き格納する。そして、プログラマブル表示器における上記各種アイテムに係る表示制御を行うアイテム表示機能部は、定期的に内部メモリにアクセスすることで、各アイテムに係わる表示内容を決定制御する。 In the case of this example, the process of reading the data stored in the monitoring memory and storing it in the internal memory is executed, for example, periodically by the communication function unit of the programmable display. For example, the communication function unit communicates with various connected devices such as the PLC main body and the temperature control device, acquires the storage data of the monitoring memory for each item, and stores the acquired data in the internal memory. Overwrite and store. And the item display function part which performs the display control which concerns on the said various items in a programmable display determines and controls the display content regarding each item by accessing an internal memory regularly.
ここで、例えば、特許文献1、2に記載の従来技術が知られている。
Here, for example, conventional techniques described in
特許文献1には、タッチスクリーンディスプレイを伴う装置において、アイテムのリストをスクロール表示すること等が開示されている。
特許文献2には、プログラマブル表示器の画面データを編集する画面編集装置において、自動的に画面データのリサイズを行うこと等が開示されている。
上記特許文献1のように、例えばスマートフォン等の画面表示に関して、ディスプレイ表示解像度より大きい画面をスクロール表示することは、周知の技術となっている。
As in
しかしながら、この周知技術をそのままプログラマブル表示器に適用することは困難である。その理由は、プログラマブル表示器で表示する画面は、上記のような操作表示画面である為である。すなわち、操作表示画面は、上記の通り、各種アイテムに係る表示等から成るものであり、スイッチ、ボタン等が表示される場合がある。スイッチ、ボタン等がタッチ操作されると、接続機器に対して何らかの指令が出されることになり、例えばモータ駆動開始等が行われることになる。この為、ユーザがスクロール操作を意図して画面上の任意の位置をタッチしても、この位置にスイッチ等があると、スイッチ操作されたものと誤判定されて、接続機器が動作してしまう場合が有り得た。 However, it is difficult to apply this well-known technique to a programmable display as it is. The reason is that the screen displayed on the programmable display is the operation display screen as described above. That is, as described above, the operation display screen is composed of displays related to various items, and switches, buttons, and the like may be displayed. When a switch, button, or the like is touch-operated, some command is issued to the connected device, and for example, motor driving is started. For this reason, even if the user touches an arbitrary position on the screen for the purpose of the scroll operation, if there is a switch or the like at this position, it is erroneously determined that the switch is operated and the connected device operates. There was a case.
ここで、例えばスマートフォン等では、スクロール操作の為に任意の位置をタッチして、例えば任意のスイッチの位置をタッチ(ドラッグ)したとしても、それだけではこのスイッチがON操作されたものとは判定されない。これは、スマートフォン等ではスイッチのON/OFFは、タッチ操作の離上を以って確定するからである。タッチ(ドラッグ)したままの状態のままで指先を移動される操作が行われればスクロール操作と判定するので、誤判定しないで済む。 Here, for example, in a smartphone or the like, even if an arbitrary position is touched for a scrolling operation and, for example, the position of an arbitrary switch is touched (dragged), it is not determined that this switch has been turned ON alone. . This is because in a smartphone or the like, the ON / OFF state of the switch is determined by releasing the touch operation. If an operation for moving the fingertip is performed while the touch (drag) is still performed, it is determined that the operation is a scroll operation.
これに対して、プログラマブル表示器の場合、上記のような“タッチ操作の離上を以って操作確定”とすることは出来ない。プログラマブル表示器では、スイッチの押下(タッチ)を検出すると、スイッチ操作あり(ON/OFF)と判断して、このスイッチに応じた動作が行われるように構成されている。この様にする理由の1つは、各種スイッチのなかにはモーメンタリスイッチがある為である。モーメンタリスイッチとは、当該スイッチが押下されている間は当該スイッチがONされ続けているものとし、タッチ操作の離上を以ってスイッチOFFと見做す機能を有するスイッチである。この為、上記の通り、プログラマブル表示器においては、“タッチ操作の離上を以って操作確定”とすることは出来ない。 On the other hand, in the case of a programmable display, it is not possible to set the “operation confirmation by releasing the touch operation” as described above. The programmable display device is configured such that when a switch press (touch) is detected, it is determined that there is a switch operation (ON / OFF), and an operation corresponding to the switch is performed. One reason for this is because of the momentary switch among the various switches. The momentary switch is a switch having a function of assuming that the switch is kept on while the switch is pressed and assuming that the switch is turned off when the touch operation is released. For this reason, as described above, in the programmable display, it is not possible to set “the operation is confirmed by the release of the touch operation”.
例えば上述したような理由により、プログラマブル表示器において、ディスプレイ表示解像度より大きい操作表示画面をスクロール動作させることは困難であった。 For example, for the reasons described above, it has been difficult to scroll the operation display screen larger than the display display resolution in the programmable display.
本発明の課題は、各種アイテム表示より成る操作表示画面を表示するプログラマブル表示器において、ディスプレイ表示解像度より大きい操作表示画面をスクロール表示させることができるプログラマブル表示器等を提供することである。 The subject of this invention is providing the programmable display etc. which can scroll-display the operation display screen larger than display display resolution in the programmable display which displays the operation display screen which consists of various item display.
本発明のプログラマブル表示器は、タッチパネルとディスプレイを有するプログラマブル表示器において、下記の各構成を有する。
・前記ディスプレイの表示解像度を上回るスクリーンデータを記憶するスクリーン記憶手段;
・前記タッチパネル上でのスクロール操作を検出して、移動方向と移動量を求めるスクロール操作検出手段;
・該移動方向と移動量に基づいてオフセット位置を更新するオフセット位置更新手段;
・前記オフセット位置に基づいて前記スクリーンデータの一部を切り出して表示用メモリに格納する画像切出手段;
・前記表示用メモリに格納される画像を前記ディスプレイ上に表示する表示制御手段。The programmable display of this invention has the following each structure in the programmable display which has a touch panel and a display.
Screen storage means for storing screen data exceeding the display resolution of the display;
A scroll operation detecting means for detecting a scroll operation on the touch panel to obtain a moving direction and a moving amount;
Offset position updating means for updating the offset position based on the moving direction and the moving amount;
Image cutout means for cutting out a part of the screen data based on the offset position and storing it in a display memory;
Display control means for displaying an image stored in the display memory on the display.
以下、図面を参照して、本発明の実施の形態について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本例のプログラマブル表示器1を含むシステム全体の概略構成図である。
FIG. 1 is a schematic configuration diagram of the entire system including the
図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5(支援装置)に接続された構成であってもよい。但し、作画エディタ装置5は、必ずしもプログラマブル表示器1に接続されている必要があるわけではない。尚、作画エディタ装置5を支援装置5と記す場合もあるものとする。
The programmable controller system shown in FIG. 1 includes various connection devices 4 and a
プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。
The
プログラマブル表示器1は、運用中、上記画面データ等に基づいて上記操作表示画面を表示する。ここで、本例のプログラマブル表示器1は、ディスプレイ表示解像度より大きい操作表示画面を表示することができる。換言すれば、ディスプレイ表示解像度を上回るスクリーンデータを表示することができる。例えば、ディスプレイ表示解像度が横800(画素)×縦600(画素)とした場合に、例えば操作表示画面を横1600(画素)×縦1200(画素)等とすることができる。そして、この様な操作表示画面を、ユーザによる任意の操作に応じてスクロール表示させることができる。
The
尚、本説明では、上記のようなディスプレイ表示解像度より大きい操作表示画面(ディスプレイ表示解像度を上回るスクリーンデータ)を、仮想スクリーンと呼ぶ場合があるものとする。尚、プログラマブル表示器1は、従来と同様、現在表示中の操作表示画面上の各アイテムに関して、例えば定周期で接続機器4から上記割当メモリ領域のデータを取得して、この取得データに基づいて操作表示画面の表示内容更新を行う。この表示内容更新は、仮想スクリーン全体に対して行われる。
In this description, an operation display screen (screen data exceeding the display display resolution) larger than the display display resolution as described above may be referred to as a virtual screen. In addition, the
図2は、本例のプログラマブル表示器1の構成例である。
FIG. 2 is a configuration example of the
プログラマブル表示器1は、上述した従来例と略同様に上述した画面データ等に基づく操作表示画面の表示等を行う機能を有するが、本手法では更に、ディスプレイ表示解像度より大きい操作表示画面((ディスプレイ表示解像度を上回るスクリーンデータ;仮想スクリーン)を、ユーザによる任意の操作に応じてスクロール表示させることができる。詳しくは後述する。
The
図示のプログラマブル表示器1は、表示操作制御装置10と、タッチパネル18、ディスプレイ19、上記通信インタフェース2等を有する。
The illustrated
表示操作制御装置10は、CPU11、ROM12(フラッシュメモリ等)、RAM13、通信コントローラ14、グラフィックコントローラ15、タッチパネルコントローラ16等より成り、これらがバス17に接続されている。
The display
CPU11は、表示操作制御装置10全体を制御する中央処理装置(演算プロセッサ)である。CPU11は、ROM12に予め格納されているプログラム(例えば後述する本体プログラム21等)を実行することで、所定の演算処理動作を行う。これによって例えば後述する各種フローチャート図の処理等を実現する。各種の演算結果は、例えばRAM13やROM12に格納される。尚,ROM12は例えばフラッシュメモリ等であってもよい。
The
また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、画面データは、例えば上述したスイッチ、ランプ、メーター、棒グラフ等の各アイテム毎に、そのアイテムの画像や表示位置座標や大きさ等のアイテム表示に係わる各種データや、上記割当メモリ領域のアドレス等の監視メモリアクセスに係わるデータ等を有する。
The
上記CPU11の処理には、例えば上記背景技術で説明した“各アイテム毎の割当メモリ領域の格納データ”を取得する処理等が含まれる。尚、上記のことから、これは「監視メモリ」の格納データを取得する処理と言うことも出来る。この取得データは、例えば後述する共有メモリ63に一時的に格納される。尚、共有メモリ63は、上記RAM13やROM12の記憶領域の一部であってもよいし、不図示の他のメモリであってもよい。
The processing of the
また、上記CPU11の処理によって、例えば上記画面データや上記取得データ等に基づく表示対象データが、例えばRAM13や不図示のビデオRAM上に展開(描画)される。この描画に基づいてグラフィックコントローラ15が、ディスプレイ19上に上述した操作表示画面等を表示する。
Further, display target data based on, for example, the screen data and the acquired data is developed (drawn) on, for example, the
ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。ディスプレイ19上には、基本的には、複数のアイテム画像が所定位置に配置されて成る上記操作表示画面が表示される。
The
ここで、本手法では、ディスプレイ19の表示解像度より大きい操作表示画面の場合、当該操作表示画面全体を不図示のメモリ領域上等に描画したうえで、その一部を切り出して例えばRAM13や不図示のビデオRAM上に格納する。これによって、その時々で、切り出された画像部分のみが表示されることで、スクロール表示を実現する。切り出す部分は、ユーザ操作に応じたものとなる。詳しくは後述する。
Here, in this method, in the case of an operation display screen larger than the display resolution of the
また、通信コントローラ14は、通信インタフェース2を介して、不図示のPLC本体等や温調装置等である接続機器4や作画エディタ装置5との通信を行う。
Further, the
オペレータ等によるタッチパネル18上での押圧操作位置(タッチ位置)の検知結果は、タッチパネルコントローラ16を介してCPU11等に取り込まれて解析される。これは、例えば各アイテムの上記表示位置座標や大きさのデータ等に基づいて、解析することになる。例えば、任意のスイッチの画像の表示位置をオペレータ等がタッチすると、このタッチ位置が当該スイッチ画像の表示領域内であると解析することで、このスイッチに対する操作が行われたものと見做すものとなる。
The detection result of the pressing operation position (touch position) on the
ここで、本手法では、ユーザによるタッチ位置が、どのアイテムの表示領域にも該当しない場合、すなわちアイテム画像が配置されていない空き領域の任意の位置がタッチ操作された場合、スクロール操作開始と判定する。この様にすることで、上述した問題を解消できる。詳しくは後述する。 Here, in this method, when the touch position by the user does not correspond to any item display area, that is, when an arbitrary position in an empty area where no item image is arranged is touched, it is determined that the scroll operation starts. To do. By doing in this way, the problem mentioned above can be solved. Details will be described later.
図3に、上記本システムのソフトウェア構成図を示す。 FIG. 3 shows a software configuration diagram of the system.
プログラマブル表示器1においては、本体プログラム21、画面データ22、通信プログラム23等の各種プログラム/データが、例えば上記ROM12(フラッシュメモリ等)に格納されている。これらのプログラム/データ等をCPU11が読出し・実行/参照等することで、上記操作表示画面等の表示制御等が行なわれる。
In the
この操作表示画面は、メーター、棒グラフ、ランプ、スイッチ等の各種アイテムの画像表示から成る。各アイテム画像の表示内容は、例えば接続機器4との通信によって割当メモリ領域(監視メモリ)から取得したデータを反映させる形で、随時更新される。また、操作表示画面が上記仮想スクリーンの画面であった場合には、その時々で、仮想スクリーン全体画像のうちの一部のみが、表示されることになる。 The operation display screen includes image displays of various items such as meters, bar graphs, lamps, and switches. The display content of each item image is updated as needed, for example, by reflecting data acquired from the allocated memory area (monitoring memory) through communication with the connected device 4. When the operation display screen is the virtual screen, only a part of the entire virtual screen image is displayed.
基本的には、CPU11が本体プログラム21と画面データ22とに基づく処理を行うことで、上記操作表示画面が表示される。そして、この操作表示画面上の各画面部品の表示内容は、通信プログラム23による接続機器4との通信結果(上記取得データ等)等に基づいて、随時、更新等されるものである。表示内容は、例えば、温度等の数値を示す表示やランプの点灯/消灯などである。
Basically, the
上記画面データ22は、例えば予め作画エディタ装置5側で任意に作成された画面データファイル32が、プログラマブル表示器1にダウンロードされて格納されたものである。また、上記通信プログラム23も、例えば予め作画エディタ装置5側に格納されていた通信プログラムファイル33が、プログラマブル表示器1にダウンロードされて格納されたものである。
The
上述したように、基本的には、CPU11が、本体プログラム21と画面データ22と取得データ等に基づいて、上記操作表示画面の表示制御を行う。例えば、メーターやランプ等のアイテムに関して、定期的に、そのアイテムの割当メモリ領域からデータを読み出して、そのアイテムの表示内容を当該読出データに基づいて更新する。あるいは、例えばスイッチ等のアイテムに関しては、ユーザが、この操作表示画面上の所望のスイッチをタッチしてON/OFF操作すると、スイッチON画像表示/スイッチOFF画像表示が行われる。また、CPU11は、このスイッチ操作に応じた所定の処理(例えば接続機器4の制御等)を行う。
As described above, basically, the
そして、この割当メモリ領域からの読出しデータを、プログラマブル表示器1の内部メモリ(後述する共有メモリ63等)に一時的に格納し、これに基づいてアイテム表示制御を行う構成がある。
Then, there is a configuration in which read data from the allocated memory area is temporarily stored in an internal memory (a shared
すなわち、例えば後述する各通信処理部55等によって定期的に、接続機器4内のメモリデバイスの所定の記憶領域(割当メモリ領域)からデータを読み出して、この読出データを上記内部メモリに格納する処理が行われる。そして、内部メモリの格納データ等に基づいて、上記操作表示画面の表示制御が行われることになる。これによって、操作表示画面上の各アイテム画像の表示内容が、そのアイテムに対応する割当メモリ領域(監視メモリ)の最新の格納データの内容を反映させたものとなる。 That is, for example, a process of periodically reading data from a predetermined storage area (allocated memory area) of a memory device in the connection device 4 and storing the read data in the internal memory by each communication processing unit 55 to be described later Is done. Then, display control of the operation display screen is performed based on data stored in the internal memory. As a result, the display contents of each item image on the operation display screen reflect the contents of the latest stored data in the allocated memory area (monitoring memory) corresponding to the item.
プログラマブル表示器1の通信プログラム23は、通信ライン6を介して接続機器4と通信を行うためのプログラムである。通常、接続機器4の機種毎等に固有の通信プロトコル(通信規定)を持ち、この通信規定に従って、プログラマブル表示器1−接続機器4間での通信を行う。そのため、通信プログラム23は、各接続機器4の機種毎等に開発が必要となる。尚、当然、CPU11などが通信プログラム23を実行することで、接続機器4との通信処理が実現される。
The communication program 23 of the
尚、プログラマブル表示器1−作画エディタ装置5間の通信は、例えば本体プログラム21と作画エディタ31とによって行う。例えば、通信機能が作画エディタ31に組み込まれている。これについては本手法とは特に関係ないので、図示・説明しない。PLC本体等である接続機器4は、様々なメーカー・機種があり、各メーカー/機種毎に独自の通信プログラムがあり、上記通信プログラム23は、接続機器4のメーカー/機種に応じて場合によっては複数種類備えられるものとなる。
The communication between the
通信プログラム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 (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing
プログラマブル表示器1から接続機器4内の監視メモリへアクセスする処理は、画面データ22に含まれる各種設定に従って実行される。換言すれば、作画エディタ31上で画面データファイル32作成時に行われた各種ユーザ設定に従って実行される。例えば、ユーザが、画面データファイル32作成の際に、画面内に各種アイテムを配置すると共に、これら各アイテム毎に任意のアドレス(監視メモリ)を指定する。
The process of accessing the monitoring memory in the connected device 4 from the
上記のようにして作成された画面データファイル32を、プログラマブル表示器1にダウンロードして画面データ22として記憶させる。プログラマブル表示器1は、従来と同様に、画面データ22を用いて上記操作表示画面の表示制御を行うものであり、これに伴って、各アイテム毎に上記監視メモリのデータを定期的に取得する動作等を実行する。更に、取得データに基づいて画面上のアイテム表示内容を更新する動作等を行う。
The screen data file 32 created as described above is downloaded to the
尚、上述した各種処理を実現させるプログラムは、例えば本体プログラム21に含まれていてもよいし、画面データファイル32(画面データ22)に含まれていてもよい。何れにしても、この様なプログラムを例えば上記CPU11が実行することで、本例のプログラマブル表示器1の各種処理・動作などが実現されることになる。
Note that the program for realizing the various processes described above may be included in the
ここで、支援装置5は、例えばパソコン等であり、特に図示しないが一般的な汎用コンピュータの構成(CPU、記憶部(ハードディスク、メモリ等)、通信部、操作部(マウス等)、ディスプレイ)を有している。記憶部に予め記憶されているアプリケーションプログラムを、CPUが実行することにより、例えば作画エディタ31の上記処理機能等が実現される。
Here, the
図4、図5は、作画エディタ装置5における画面データの作成支援画面の一例である。
4 and 5 are examples of screen data creation support screens in the drawing
図4に示す作成支援画面では、図上左側に示す編集領域上でユーザが任意の操作表示画面の作成作業を行う。つまり、上記画面データ22(32)を任意に作成する。作成された画面データ22(32)は、プログラマブル表示器1にダウンロードされて記憶され、この画面データ22に基づいて操作表示画面が表示される。これより、後述する図5の例の場合、ディスプレイ表示解像度より大きい操作表示画面が、表示されることになる。
On the creation support screen shown in FIG. 4, the user creates an arbitrary operation display screen on the editing area shown on the left side of the figure. That is, the screen data 22 (32) is arbitrarily created. The created screen data 22 (32) is downloaded and stored in the
上記任意の操作表示画面の作成作業自体は、従来と同様であり、例えば、不図示のアイテム一覧表示選択領域からユーザが所望のアイテムを選択して、これを編集領域上の任意の位置に配置する。そして、配置したアイテムに対して、不図示の設定ウィンドウ(ダイアログボックス等)上でユーザが各種設定を行う。例えば所望の機能の割当てや上記割当メモリ領域のアドレス等の設定を行う。 The operation for creating the arbitrary operation display screen itself is the same as the conventional one. For example, the user selects a desired item from an item list display selection area (not shown) and places it at an arbitrary position on the editing area. To do. Then, the user performs various settings for the arranged items on a setting window (dialog box or the like) (not shown). For example, a desired function is assigned and an address of the assigned memory area is set.
本例では、更に、操作表示画面(スクリーン)自体の設定を行うことができる図示の設定ウィンドウ40を、ユーザが所定操作を行うことで表示させることができる。
In this example, a setting
ここで、上記編集領域の大きさは、デフォルトではプログラマブル表示器1のディスプレイの大きさ(ディスプレイ表示解像度)に合わせてあり、ここでは「横(640(画素)×縦480(画素))」であるものとする。尚、“横”は「幅」、“縦”は「高さ」に相当する。
Here, the size of the editing area is matched with the display size (display display resolution) of the
これに対して、図示の設定ウィンドウ40上の表示領域設定領域41において、ユーザは上記スクリーンの大きさを任意に設定・変更できる。図示の例では、幅を2倍(=1280(画素)に変更しているが、高さは変更なし(480(画素))となっている。但し、図4では未だ図示の「OK」ボタン43が操作されていないので、この変更内容は未だ適用されていない状態となっている。つまり、図4の状態では未だ、編集領域は上記「横(640(画素)×縦480(画素))」の大きさとなっている。
In contrast, in the display
尚、図示のプレビュー表示領域42には、表示領域設定領域41における設定に応じたプレビュー画像が表示される。これは、例えば、プログラマブル表示器1のディスプレイの大きさと、設定変更後のスクリーンの大きさ(編集領域の大きさ)との対応関係が、分かるようにする表示とする。但し、この例に限らない。
In the illustrated
そして、図示の状態でのユーザが「OK」ボタン43を操作すると、上記設定内容が反映されることで、作成支援画面は図5に示す状態となる。
When the user in the state shown in the figure operates the “OK”
図5に示すように、編集領域の幅が2倍に広がっている。尚、高さは変わらない。つまり、図5では、編集領域が「横(1280(画素)×縦480(画素))」の大きさとなっている。これは、そのまま、プログラマブル表示器1側で表示させる操作表示画面のスクリーンの大きさとなる。そして、上記の通り、この様なディスプレイ解像度より大きいサイズのスクリーンを、仮想スクリーンと呼ぶものとする。上記の通り、その時々で、仮想スクリーンの任意の一部のみが、ディスプレイ上に表示されることになる。
As shown in FIG. 5, the width of the editing area is doubled. The height does not change. In other words, in FIG. 5, the editing area has a size of “horizontal (1280 (pixels) × vertical 480 (pixels))”. This is the size of the screen of the operation display screen displayed on the
ここで、図上の太枠44は、初期表示位置を表す。ユーザは、この太枠44を編集領域内の任意の位置へと移動させる操作を行うことができ、これによって仮想スクリーンの初期表示状態を設定できる。図示の状態で初期表示位置が設定された場合、プログラマブル表示器1側でこの作成支援画面を表示すると、初期状態では仮想スクリーンの左半分が表示された状態となる。そして、この状態からユーザがスクロール操作を行って、仮想スクリーンの所望の部分を表示させることができる。詳しくは後述する。
Here, a thick frame 44 in the figure represents the initial display position. The user can perform an operation of moving the thick frame 44 to an arbitrary position in the editing area, and can thereby set the initial display state of the virtual screen. When the initial display position is set in the state shown in the figure, when this creation support screen is displayed on the
尚、上記太枠44の大きさは、ディスプレイの大きさに相当するものである。 The size of the thick frame 44 corresponds to the size of the display.
また、尚、図5に示す位置の太枠44内の部分が表示される状態は、後述する表示オフセット位置(X,Y)=(0,0)の状態に相当するものと見做してよい。 Further, the state in which the portion within the thick frame 44 at the position shown in FIG. 5 is displayed corresponds to the state of display offset position (X, Y) = (0, 0) described later. Good.
ここで、図6、図7に、ディスプレイ表示解像度より大きいサイズの操作表示画面(仮想スクリーン)を、プログラマブル表示器1においてスクロール表示させるイメージ例を示す。
Here, FIGS. 6 and 7 show examples of images in which an operation display screen (virtual screen) having a size larger than the display display resolution is scroll-displayed on the
まず、図6の例は、上記設定ウィンドウ40によって、仮想スクリーンは、横方向(幅)が“ディスプレイ解像度の3倍”に設定された場合を例にする。尚、縦方向(高さ)は“設定変更なし”であり、ディスプレイ解像度のままであるものとする。
First, in the example of FIG. 6, the virtual screen is set to “three times the display resolution” in the horizontal direction (width) by the setting
尚、図4、図5に示す例では、仮想スクリーンは、横方向(幅)が“ディスプレイ解像度の2倍”、縦方向(高さ)は“設定変更なし”となる。 In the example shown in FIGS. 4 and 5, the virtual screen has a horizontal direction (width) of “twice the display resolution” and a vertical direction (height) of “no setting change”.
また、図6(a)に示す状態では、仮想スクリーンの後述する表示オフセット位置(X,Y)=(0,0)であるものとする。これは、ここでは、仮想スクリーンの左上角を基準として、当該左上角が図6(a)に示すようにプログラマブル表示器1のディスプレイの左上角の位置にあるとき、表示オフセット位置(X,Y)=(0,0)であるものとする。
In the state shown in FIG. 6A, it is assumed that a display offset position (X, Y) = (0, 0), which will be described later, of the virtual screen. Here, with reference to the upper left corner of the virtual screen, when the upper left corner is at the position of the upper left corner of the display of the
表示オフセット位置(X,Y)は、仮想スクリーンとディスプレイとの相対的な位置関係を示すものである。表示オフセット位置(X,Y)は、ディスプレイに対してのスクリーンデータ(仮想スクリーン)の表示基準位置である。本例では、表示オフセット位置(X,Y)は、仮想スクリーンの左上角とディスプレイの左上角との相対的な位置関係を示すものと見做してよい。 The display offset position (X, Y) indicates the relative positional relationship between the virtual screen and the display. The display offset position (X, Y) is a display reference position of screen data (virtual screen) with respect to the display. In this example, the display offset position (X, Y) may be regarded as indicating the relative positional relationship between the upper left corner of the virtual screen and the upper left corner of the display.
そして、この状態でユーザがディスプレイ上の任意の空き領域を指先でタッチすると、スクロール処理が開始されることになる。尚、図には示していないが、仮想スクリーン上には各種アイテムが配置されており、図6(a)ではアイテムが配置されていない領域(空き領域)がタッチされてものとする。 In this state, when the user touches any empty area on the display with the fingertip, the scrolling process is started. Although not shown in the figure, it is assumed that various items are arranged on the virtual screen, and an area (an empty area) where no item is arranged is touched in FIG.
上記のようにスクロール処理が開始された後、ユーザが例えば図6(b)に示すようにディスプレイ上をタッチした状態のまま指先を図上左方向へとズラしていくと、これに応じて仮想スクリーンはディスプレイに対して相対的に左方向へと移動していくイメージとなる。これによって、ディスプレイ上の表示内容は、図6(a)よりも右側の部分が表示されることになる。 After the scroll process is started as described above, when the user moves the fingertip to the left in the figure while touching the display as shown in FIG. 6B, for example, The virtual screen is an image that moves to the left relative to the display. As a result, the content displayed on the display is displayed on the right side of FIG. 6A.
尚、図6(b)に示す状態が、仮に図6(a)の状態から200画素分、仮想スクリーンを左方向へ移動させたものであるとするならば、ここでは、表示オフセット位置(X,Y)=(200,0)となるものとする。 If the state shown in FIG. 6B is a state in which the virtual screen is moved leftward by 200 pixels from the state shown in FIG. 6A, here, the display offset position (X , Y) = (200, 0).
次に、図7の例は、上記設定ウィンドウ40によって、仮想スクリーンは、横方向(幅)と縦方向(高さ)の両方で、ディスプレイ解像度の2倍に設定された場合を例にする。
Next, the example of FIG. 7 exemplifies a case where the virtual screen is set to twice the display resolution in both the horizontal direction (width) and the vertical direction (height) by the setting
また、図7(a)に示す状態では、上記図6(a)と同様、仮想スクリーンの後述する表示オフセット位置(X,Y)=(0,0)であるものとする。 Further, in the state shown in FIG. 7A, it is assumed that the display offset position (X, Y) = (0, 0), which will be described later, of the virtual screen, as in FIG. 6A.
そして、この状態でユーザがディスプレイ上の任意の空き領域を指先でタッチすると、スクロール処理が開始されることになる。尚、図6と同様、図7においてもアイテム表示は省略して示しているが、図7(a)ではアイテムが配置されていない領域(空き領域)がタッチされてものとする。 In this state, when the user touches any empty area on the display with the fingertip, the scrolling process is started. As in FIG. 6, item display is also omitted in FIG. 7, but it is assumed that an area (empty area) where no item is arranged is touched in FIG. 7A.
上記のようにスクロール処理が開始された後、ユーザが例えば図7(b)に示すようにディスプレイ上をタッチした状態のまま指先を図上の左上方向へとズラしていくと、これに応じて仮想スクリーンはディスプレイに対して相対的に左上方向へと移動していくイメージとなる。これによって、ディスプレイ上の表示内容は、図7(a)よりも右下側の部分が表示されることになる。 After the scroll process is started as described above, if the user moves the fingertip in the upper left direction in the figure while touching the display as shown in FIG. 7B, for example, Thus, the virtual screen is an image that moves in the upper left direction relative to the display. As a result, the display content on the display is displayed in the lower right part of FIG. 7A.
尚、図7(b)に示す状態が、仮に図7(a)の状態から横方向(X方向)で300画素分、縦方向(Y方向)で200画素分、仮想スクリーンを左上方向へ移動させたものであるとするならば、ここでは、表示オフセット位置(X,Y)=(300,200)となるものとする。 The state shown in FIG. 7B temporarily moves from the state shown in FIG. 7A to the upper left direction by 300 pixels in the horizontal direction (X direction) and 200 pixels in the vertical direction (Y direction). Here, it is assumed that the display offset position (X, Y) = (300, 200).
図8は、本例のプログラマブル表示器の処理機能図である。 FIG. 8 is a processing function diagram of the programmable display of this example.
上記CPU11が、例えば上記ROM12に記憶されている所定のプログラム(例えば上記本体プログラム21、通信プログラム23等)を実行することにより、例えば図8の点線内に示す各種処理機能部が実現される。すなわち、図示のタッチスイッチ判定処理部51、スクリーンスクロール位置変更処理部52、スクリーン表示切り出し描画処理部53等の各種処理機能が実現される。
When the
また、特に図示しない既存機能によって、仮想スクリーン全体画像データ54が随時生成されて記憶される。この既存機能は、画面データ22等に基づいて操作表示画面の画像データを生成するものであり、仮想スクリーンの場合も同様にして画像データを生成できる。但し、通常のスクリーンは、生成した画像データをそのままRAM13に格納しても構わないが、仮想スクリーンの場合は、生成した上記仮想スクリーン全体画像データ54を、RAM13以外のメモリ(CPU11内の不図示のメモリ等)に記憶する。そして、スクリーン表示切り出し描画処理部53が、この仮想スクリーン全体画像データ54の一部を切り出してRAM13に格納する。これについては、後に詳しく説明する。
Further, the entire virtual
尚、グラフィックコントローラ15が上記RAM13上の描画データをディスプレイ19上に表示することで、上記操作表示画面等が表示される。
The
尚、仮想スクリーン全体画像データ54は、既存機能によって随時更新される。すなわち、例えば、上記各アイテム毎の割当メモリ領域からの最新の取得データを反映させる形で、各アイテムの表示内容が随時更新される。
The virtual screen
上述した各種処理機能について、詳細は後述するが、以下、簡単に説明する。 The various processing functions described above will be described in detail later, but will be briefly described below.
タッチスイッチ判定処理部51は、ユーザによるタッチ操作に基づいてユーザ操作内容を判別する処理機能部である。タッチスイッチ判定処理部51は、例えば、ユーザが操作したアイテムを判別する等の既存機能を有するが、更に本例の新機能も有する。
The touch switch
すなわち、タッチスイッチ判定処理部51は、上記既存機能に加えて、例えば更に、図示のスクリーンスクロール開始検出処理部51a、スクリーンスクロール終了検出処理部51b、スクリーンスクロール位置変化検出処理部51cの各種処理機能を有する。尚、以下の説明では、これらを省略して、開始検出処理部51a、終了検出処理部51b、位置変化検出処理部51cと記すものとする。同様に、上記スクリーンスクロール位置変更処理部52も、位置変更処理部52と記すものとする。
That is, in addition to the above existing functions, the touch switch
ここで、例えば、ユーザがタッチパネル18上の任意の位置をタッチする操作を行うと、タッチパネルコントローラ16がこのタッチ位置のXY座標を検出する。これより、タッチスイッチ判定処理部51は、この検出座標と例えば画面データ22等に基づいて、ユーザが操作したアイテムを判別する。これが、上記タッチスイッチ判定処理部51の既存機能の一例である。
Here, for example, when the user performs an operation of touching an arbitrary position on the
この既存機能に関しては、特に具体例は示さないが、画面データ22には各アイテムの表示位置座標と大きさのデータが含まれており、これより各アイテムが配置されている領域(アイテム領域)が判別できる。これより上記ユーザ操作検出位置座標が含まれるアイテム領域を判別することで、当該アイテム領域に対応するアイテムが操作されたものと判定する。尚、この例に限らず、例えば、後述するスイッチリスト61に基づいてアイテムを判別してもよい。
For this existing function, a specific example is not shown, but the
ここで、上記ユーザ操作検出位置座標が含まれるアイテム領域が存在しない場合、すなわちユーザが空き領域をタッチした場合、従来では何も行わなかったが、本手法ではこれをトリガーにしてスクロール表示処理を開始する。 Here, when the item area including the user operation detection position coordinates does not exist, that is, when the user touches the empty area, nothing has been done in the past, but in this technique, the scroll display process is performed using this as a trigger. Start.
すなわち、簡単に説明するならば、開始検出処理部51aは、上記空き領域へのタッチ操作があったことを検出すると、スクロール動作開始処理を実行する。これは、例えば、タッチ位置座標を後述するドラッグ位置として記憶すると共に、モードをスクリーンスクロールモードへ移行させる。 That is, in brief, when the start detection processing unit 51a detects that a touch operation has been performed on the empty area, the start detection processing unit 51a executes a scroll operation start process. For example, the touch position coordinates are stored as a drag position described later, and the mode is shifted to the screen scroll mode.
ここで、図9を参照して、モードの種類とモード変更について説明する。 Here, with reference to FIG. 9, the kind of mode and mode change are demonstrated.
本例では、例えば図9に示すような各種モード、すなわちスイッチ検出モードとスクリーンスクロールモードの2種類のモードが、予め設けられている。スイッチ検出モードは、従来通りの処理動作を行うモードであり、通常はスイッチ検出モードになっている。このスイッチ検出モード中に任意のアイテムに対するユーザ操作が検出されると、当該操作されたアイテムに係わる処理を実行する。一方、スイッチ検出モード中に上記空き領域へのタッチ操作があると、スクリーンスクロールモードへ移行する。 In this example, for example, various modes as shown in FIG. 9, that is, two types of modes, a switch detection mode and a screen scroll mode, are provided in advance. The switch detection mode is a mode for performing a processing operation as usual, and is normally a switch detection mode. When a user operation on an arbitrary item is detected during the switch detection mode, processing related to the operated item is executed. On the other hand, if there is a touch operation on the empty area during the switch detection mode, the screen shifts to the screen scroll mode.
そして、このスクリーンスクロールモード中に、ユーザがタッチしたまま任意の方向に指先を移動する操作を行うと、位置変化検出処理部51cがこれを検出して、スクロール操作が行われたものと見做して、位置変更処理部52に所定の処理を実行させる。
When the user performs an operation of moving the fingertip in an arbitrary direction while being touched during the screen scroll mode, the position change detection processing unit 51c detects this and considers that the scroll operation has been performed. Then, the position
位置変更処理部52は、上記タッチ位置移動操作に応じて、後述する表示オフセット位置(X,Y)を更新する。
The position
スクリーン表示切り出し描画処理部53は、随時(例えば定周期で)、その時の表示オフセット位置(X,Y)に基づいて、仮想スクリーン全体画像データ54の一部を切り出して、これをRAM13に上書き格納する。これによって、上記表示オフセット位置(X,Y)の更新に伴って画像切り出し位置が変わることで、ディスプレイ19上では操作表示画面のスクロール表示が行われることになる。
The screen display cutout
例えば、ユーザが所望の目的位置へ指先を移動させている間、例えば上述した位置変更処理部52とスクリーン表示切り出し描画処理部53の処理が、定周期で何度も実行されて、その都度、表示オフセット位置(X,Y)が更新されて、これに基づいて仮想スクリーン全体画像データ54の一部が切り出されてRAM13に格納される。これによって、ユーザ操作に伴って操作表示画面がスクロールしていく表示となる。
For example, while the user moves the fingertip to a desired target position, for example, the processing of the position
尚、スクリーン表示切り出し描画処理部53は、スクリーンスクロールモード中のみ上記処理動作を実行してもよいが、基本的には現在のモードに関係なく上記処理動作を実行することが望ましい。これは、スイッチ検出モード中は、画像切り出し位置は変わらないが、各アイテムの表示内容が変わる場合があるからである。
The screen display cutout
そして、ユーザが指先をタッチパネル18から離す操作(離上操作)を行うと、終了検出処理部51bが、スクロール処理終了の為の処理を行う。例えば、モードを上記スイッチ検出モードへ戻す。
Then, when the user performs an operation of releasing the fingertip from the touch panel 18 (a lifting operation), the end
以下、上記各種処理機能部について、図11、図12、図13に示すフローチャート図を参照して説明する。また、これらの処理に関係する情報の一例を、図10(a)〜(c)に示す。 Hereinafter, the various processing function units will be described with reference to flowcharts shown in FIGS. 11, 12, and 13. Moreover, an example of the information relevant to these processes is shown to Fig.10 (a)-(c).
以下、まず、図10(a)、(b)、(c)に示す各種情報について説明する。 Hereinafter, various information shown in FIGS. 10A, 10B, and 10C will be described first.
図10(a)に示すスクリーン設定データ60は、幅指定有無61、表示領域幅62、高さ指定有無63、表示領域高さ64等から成る。これら各種情報は、例えば、上述した設定ウィンドウ40上での設定内容が格納されるものである。
The
すなわち、上記表示領域設定領域41上で、仮想スクリーンの幅または/及び高さの設定があった場合、該設定の有無と設定内容が上記各種データ項目61〜64に格納される。仮想スクリーンの幅の設定があった場合には、上記幅指定有無61が指定有り(フラグON)となると共に、表示領域幅62にユーザ設定内容が格納される。同様に、仮想スクリーンの高さの設定があった場合には、上記高さ指定有無63が指定有り(フラグON)となると共に、表示領域高さ64にユーザ設定内容が格納される。
That is, when the virtual screen width or / and height is set on the display
例えば上記図4、図5の例では、上述したように幅については変更があり、上記幅指定有無61はフラグONとなり、表示領域幅6には‘1280’が格納される。一方、高さについては変更無しであるので、高さ指定有無63はフラグOFFのままであり、表示領域高さ64はデータ無し(NULL)のままである。
For example, in the example of FIGS. 4 and 5, the width is changed as described above, the width designation presence /
尚、スクリーン設定データ60は、例えば、画面データ22(32)に含まれている。また、ディスプレイ表示解像度などのディスプレイ関連データは、例えば予めプログラマブル表示器1に登録されている。
The
次に、図10(b)に示す仮想スクリーン制御情報70は、仮想スクリーン幅71、仮想スクリーン高さ72、表示オフセット位置X73、表示オフセット位置Y74等から成る。
Next, the virtual
仮想スクリーン幅71、仮想スクリーン高さ72には、例えばスクリーンスクロールモード開始時に、そのとき表示中のスクリーンに係る上記スクリーン設定データ60における表示領域幅62、表示領域高さ64がコピーされる。但し、指定無し(フラグOFF)の場合には、別途記憶されている不図示のディスプレイ解像度(幅、高さ)の値が格納される。例えば図4、図5に示す例では、幅は変更されて上記‘1280’となっているが、高さはディスプレイ解像度の高さ(=480)のままとなっている。これより、仮想スクリーン幅71には表示領域幅62の値(=1280)がコピーされるが、仮想スクリーン高さ72にはディスプレイ解像度の高さ(=480)がコピーされることになる。
For example, when the screen scroll mode is started, the
また、表示オフセット位置X73、表示オフセット位置Y74の値は、スクリーンスクロールモード中、後述する算出処理により随時更新される。そして、後述するように、例えば定周期で、現在のオフセット位置に基づいて、仮想スクリーンからその一部を切り出してRAM13に格納する処理等が行われる。
Further, the values of the display offset position X73 and the display offset position Y74 are updated as needed by a calculation process described later in the screen scroll mode. Then, as will be described later, for example, a process of cutting out a part of the virtual screen from the virtual screen and storing it in the
尚、表示オフセット位置X73、表示オフセット位置Y74の値は、デフォルトでは‘0’となっている。つまり、仮想スクリーン表示開始時点では‘0’となっている。 Note that the values of the display offset position X73 and the display offset position Y74 are “0” by default. That is, it is “0” at the start of the virtual screen display.
図10(c)に示すスクリーン移動検出制御情報80は、ドラッグ位置X81、ドラッグ位置Y82等から成る。これらドラッグ位置X81、ドラッグ位置Y82には、上記空き領域へのタッチ操作が行われたときに、当該タッチされた位置のXY座標が格納される。尚、その後に上述したタッチ位置移動操作が行われても、上記ドラッグ位置81,82は変更されない。ドラッグ位置81,82は、最初のタッチ位置(ドラッグ位置)を示すものであるからである。
Screen movement
尚、上記ドラッグ位置のXY座標(ドラッグ位置X81、ドラッグ位置Y82)は、物理座標系のXY座標である。すなわち、仮想スクリーン上の座標ではなく、ディスプレイ19上での座標である。換言すれば、タッチパネルコントローラ16で検知される座標である。従って、ディスプレイ19が仮に640(画素)×480(画素)であるならば、仮想スクリーンの大きさに関係なく、物理座標系は640×480となる。尚、ここでは左上角が座標(0,0)であり、右下角が座標(640,480)であるものとする。
The XY coordinates of the drag position (drag position X81, drag position Y82) are XY coordinates in the physical coordinate system. That is, it is not the coordinates on the virtual screen but the coordinates on the
以下、図11、図12、図13に示すフローチャート図の処理例について説明する。 Hereinafter, processing examples of the flowcharts shown in FIGS. 11, 12, and 13 will be described.
図11は、タッチスイッチ判定処理部51の処理フローチャート図である。尚、これは、上記開始検出処理部51aの処理フローチャート図であると見做してもよい。
FIG. 11 is a processing flowchart of the touch switch
ユーザがタッチパネル18上の任意の位置をタッチ操作すると、タッチパネルコントローラ16がこのタッチ位置座標(物理座標)を検出して、これをタッチスイッチ判定処理部51に渡す。これによって図11の処理が開始される。
When the user performs a touch operation on an arbitrary position on the
ここで、検出されるタッチ位置座標は上記の通り物理座標系の座標である。この為、通常のスクリーンすなわちディスプレイ解像度と同じ大きさのスクリーンの場合には、このタッチ位置座標をそのまま用いればよいが、仮想スクリーンの場合には仮想スクリーン上の座標に変換する必要がある。 Here, the detected touch position coordinates are coordinates in the physical coordinate system as described above. For this reason, in the case of a normal screen, that is, a screen having the same size as the display resolution, the touch position coordinates may be used as they are, but in the case of a virtual screen, it is necessary to convert them to coordinates on the virtual screen.
これより、まず、現在表示中のスクリーンが仮想スクリーンであるか否かを判定する(ステップS11)。これは、例えば、現在表示中のスクリーンに係る上記スクリーン設定データ60を参照して、上記幅指定有無61、高さ指定有無63の両方ともフラグOFF(指定なし)である場合には通常スクリーン表示中と判定し、これ以外の場合は仮想スクリーン表示中と判定する。
From this, first, it is determined whether or not the currently displayed screen is a virtual screen (step S11). For example, referring to the
仮想スクリーンを表示中の場合には(ステップS11,YES)、上記検出されたタッチ位置座標を、仮想スクリーン上の座標に変換する(ステップS12)。この変換方法は、例えば下記の通りである。 When the virtual screen is being displayed (step S11, YES), the detected touch position coordinates are converted into coordinates on the virtual screen (step S12). This conversion method is as follows, for example.
仮想スクリーン上のX座標=押下X座標+表示オフセット位置X73
仮想スクリーン上のY座標=押下Y座標+表示オフセット位置Y74
尚、上記押下X座標、押下Y座標は、上記タッチ位置座標(物理座標)である。X coordinate on virtual screen = pressed X coordinate + display offset position X73
Y coordinate on virtual screen = pressed Y coordinate + display offset position Y74
The pressed X coordinate and pressed Y coordinate are the touch position coordinates (physical coordinates).
そして、仮想スクリーンである場合には上記変換処理によって得られた上記仮想スクリーン上の座標を用いて、任意のアイテムが操作されたものであるか否かを判定する(ステップS13)。また、通常のスクリーンの場合には、上記検出されたタッチ位置座標を用いて、任意のアイテムが操作されたものであるか否かを判定する(ステップS13)。 If it is a virtual screen, it is determined whether or not an arbitrary item has been operated using the coordinates on the virtual screen obtained by the conversion process (step S13). In the case of a normal screen, it is determined using the detected touch position coordinates whether or not an arbitrary item has been operated (step S13).
ステップS13の判定処理自体は、既存技術であってよく、詳細には説明しないが、画面データ22を参照することで、各アイテムが配置されている領域(アイテム領域)が分かるので、上記タッチ位置座標が含まれるアイテム領域がある場合には、ステップS13はYESとなる。
The determination process itself in step S13 may be an existing technology and will not be described in detail, but by referring to the
一方、上記タッチ位置座標が含まれるアイテム領域が1つも無い場合には、ステップS13はNOとなる。尚、この場合は、上記空き領域がタッチ操作されたものと見做せる。 On the other hand, if there is no item area including the touch position coordinates, step S13 is NO. In this case, it can be considered that the empty area has been touched.
尚、上記画面データ22を用いる例に限らず、例えばスイッチ領域チェーンリスト90を用いて判定する方法であってもよく、これについては後述する。
Note that the method is not limited to the example using the
任意のアイテムが操作された場合すなわち任意のアイテムの表示領域がタッチされた場合には(ステップS13,YES)、当該操作されたアイテムの処理機能を実行する(ステップS14)。この処理自体は既存の処理であり、例えば画面データ22や割当メモリ領域から取得データ等に基づいて、当該アイテムの表示内容を更新する処理等である。
When an arbitrary item is operated, that is, when the display area of the arbitrary item is touched (step S13, YES), the processing function of the operated item is executed (step S14). This process itself is an existing process, for example, a process of updating the display content of the item based on the
一方、アイテムが操作されていない場合すなわち空き領域に対してタッチ操作が行われた場合には(ステップS13,NO)、通常のスクリーンの場合には(ステップS15,NO)従来通り何もしないで本処理を終了する。一方、仮想スクリーンの場合には(ステップS15,YES)、ステップS16、S17の処理を実行して、本処理を終了する。すなわち、例えば上記開始検出処理部51aによる上記スクロール動作開始処理を実行して、本処理を終了する。 On the other hand, when an item is not operated, that is, when a touch operation is performed on an empty area (step S13, NO), in the case of a normal screen (step S15, NO), nothing is done as usual. This process ends. On the other hand, in the case of a virtual screen (step S15, YES), the processing of steps S16 and S17 is executed, and this processing is terminated. That is, for example, the scroll operation start process by the start detection processing unit 51a is executed, and this process ends.
尚、空き領域がタッチされた旨の判定方法は、上記各アイテムの配置領域を用いる例に限らない。例えば、予め、空き領域を示す領域情報を登録しておくことで、タッチ位置が当該領域情報が示す領域内にある場合には、空き領域がタッチされたものと判定してもよい。 Note that the method of determining that the empty area has been touched is not limited to the example using the arrangement area of each item. For example, by registering area information indicating an empty area in advance, if the touch position is within the area indicated by the area information, it may be determined that the empty area has been touched.
ステップS16の処理は、タッチ位置を記憶する処理である。すなわち、上記タッチ位置座標(押下X座標、押下Y座標)を、上記ドラッグ位置X81、ドラッグ位置Y82に格納する処理である。また、ステップS17の処理は、モードを上記“スクリーンスクロールモード”に変更するモード変更処理である。 The process of step S16 is a process for storing the touch position. That is, the touch position coordinates (pressed X coordinate, pressed Y coordinate) are stored in the drag position X81 and drag position Y82. The process of step S17 is a mode change process for changing the mode to the “screen scroll mode”.
尚、図11の処理は、上記ステップS16、S17は開始検出処理部51aが実行し、それ以外の処理はタッチスイッチ判定処理部51が実行するものと見做してもよいが、この例に限らない。例えば開始検出処理部51aが図11の処理全てを実行するものと見做しても構わない。
The processing in FIG. 11 may be regarded as being performed by the start detection processing unit 51a in steps S16 and S17, and the other processing by the touch switch
上記“スクリーンスクロールモード”中は、例えば一定周期Δt毎にユーザによるタッチ位置が移動したか否かを判定し、タッチ位置移動したと判定される毎に、図12のステップS22の処理を実行する。また、ステップS22の処理実行毎にステップS23の処理を実行してもよい。但し、ステップS23の処理(画像切り出し処理)は、上記のようにモードに関係なく定周期で実行してもよい。 During the “screen scroll mode”, for example, it is determined whether or not the touch position by the user has moved every fixed period Δt, and each time it is determined that the touch position has moved, the process of step S22 in FIG. 12 is executed. . Moreover, you may perform the process of step S23 for every process execution of step S22. However, the processing in step S23 (image cutout processing) may be executed at a constant cycle regardless of the mode as described above.
尚、上記“スクリーンスクロールモード”中に任意のアイテム画像の表示領域がタッチされたことを検出しても、当該アイテムが操作されたものとは見做さないようにしてもよい。 Note that even if it is detected that the display area of an arbitrary item image is touched during the “screen scroll mode”, it may not be considered that the item has been operated.
尚、図12は、スクロール表示関連処理の処理フローチャート図と見做すものとする。 Note that FIG. 12 is regarded as a process flowchart of the scroll display related process.
上記ユーザによるタッチ位置が移動したか否かの判定処理は、例えば上記位置変化検出処理部51cが実行する。 The position change detection processing unit 51c executes, for example, the determination process of whether or not the touch position moved by the user has moved.
タッチパネルコントローラ16は、例えば随時または上記一定周期Δt毎に、現在の(最新の)上記タッチ位置座標検出結果を、位置変化検出処理部51cに渡す。
The
位置変化検出処理部51cは、当該タッチ位置座標の現在値が前回値と一致するか否かを判定し、不一致の場合にはタッチ位置が移動したと判定して(ステップS21)、上記現在値を上記位置変更処理部52に渡す。また、判定結果に関係なく、上記現在値を新たな前回値として記憶する。
The position change detection processing unit 51c determines whether or not the current value of the touch position coordinate matches the previous value. If the current value does not match, the position change detection processing unit 51c determines that the touch position has moved (step S21). Is transferred to the position
位置変更処理部52は、位置変化検出処理部51cから上記タッチ位置座標(現在値)が渡されると、これに基づいて表示オフセット位置X73、表示オフセット位置Y74を更新する(ステップS22)。これは、下記の算出式により新たな表示オフセット位置を算出して、これを上記表示オフセット位置X73、表示オフセット位置Y74に上書き格納するものである。
When the touch position coordinates (current value) are passed from the position change detection processing unit 51c, the position
表示オフセット位置X=ドラッグ位置X81−押下X座標
表示オフセット位置Y=ドラッグ位置Y82−押下Y座標
尚、上記押下X座標、押下Y座標は、上記タッチ位置座標(現在値)である。尚、上記タッチ位置座標(現在値)は、上記物理座標系の座標である。Display offset position X = Drag position X81—Pressed X coordinate Display offset position Y = Drag position Y82—Pressed Y coordinate The pressed X coordinate and pressed Y coordinate are the touch position coordinates (current value). The touch position coordinates (current value) are coordinates in the physical coordinate system.
スクリーン表示切り出し描画処理部53は、例えば上記のようにモードに関係なく定周期で、そのときの仮想スクリーン全体画像データ54の一部を切り出してRAM13に格納する(ステップS23)。その際、切り出す部分を例えば下記のように決定する。
The screen display cutout
・切出し基準位置を起点として、そこから切り出し幅、切り出し高さ分の領域の画像を切り出す。ここで、
切出し基準位置=(表示オフセット位置X73,表示オフセット位置Y74)
切り出し幅=ディスプレイ解像度X
切り出し高さ=ディスプレイ解像度Y
仮にディスプレイ解像度が640×480であったならば、切り出し幅=640、切り出し高さ=480となる。The image of the area corresponding to the cut width and the cut height is cut out from the cut reference position as a starting point. here,
Cutting reference position = (display offset position X73, display offset position Y74)
Cutout width = Display resolution X
Cutting height = Display resolution Y
If the display resolution is 640 × 480, the cutout width = 640 and the cutout height = 480.
この様にすることで、ユーザ操作に応じて仮想スクリーンの一部が切り出されて、これがRAM13に格納され、以ってディスプレイ19上に表示されることになる。この様な表示を、例えばユーザがタッチ位置を移動させている間、例えば一定周期で繰り返し実行することで、仮想スクリーンがスクロール表示されることになる。
In this way, a part of the virtual screen is cut out in accordance with the user operation, stored in the
尚、スクリーン表示切り出し描画処理部53の処理実行タイミングは、上述した定周期実行の例に限らず、例えば、位置変更処理部52は、上記ステップS22の処理実行に伴って、オフセット位置を更新した旨を上記スクリーン表示切り出し描画処理部53に通知するようにしてもよい。そして、この通知によって、スクリーン表示切り出し描画処理部53が上記ステップS23の処理を実行するようにしてもよい。
Note that the process execution timing of the screen display cutout
尚、上記“ドラッグ位置X81−押下X座標”及び“ドラッグ位置Y82−押下Y座標”は、ドラッグ位置から現在の指先位置までの移動方向と移動量を示すものと言える。 The “drag position X81—pressed X coordinate” and “drag position Y82—pressed Y coordinate” can be said to indicate the moving direction and moving amount from the drag position to the current fingertip position.
図13は、上記終了検出処理部51bの処理フローチャート図である。
FIG. 13 is a process flowchart of the end
終了検出処理部51bは、上記“スクリーンスクロールモード”中、随時、タッチパネルコントローラによるユーザ操作検知結果を監視しており、離上操作を検知した合(ステップS31)、モードを“スイッチ検出モード”に変更する(ステップS32)。
The end
ここで、図14、図15に、上記スクロール表示処理のイメージ例を示す。 Here, FIG. 14 and FIG. 15 show examples of the scroll display processing.
尚、ここでは、仮想スクリーンの例は上記図7の例を用いるものとする。すなわち、仮想スクリーンが、横方向(幅)と縦方向(高さ)の両方で、ディスプレイ解像度の2倍に設定された例を用いるものとする。尚、この場合、仮想スクリーンは、ディスプレイの大きさを1単位とする4つの分割領域から成るものと言える。つまり、左上、右上、左下、右下の4つの分割領域から成るものと言える。 Here, the example of FIG. 7 is used as an example of the virtual screen. That is, an example in which the virtual screen is set to twice the display resolution in both the horizontal direction (width) and the vertical direction (height) is used. In this case, it can be said that the virtual screen is composed of four divided areas with the display size as one unit. In other words, it can be said to be composed of four divided areas: upper left, upper right, lower left, and lower right.
図14は、上記スクロール処理を、ディスプレイと仮想スクリーンとの位置関係のイメージで示す。 FIG. 14 shows the scroll process as an image of the positional relationship between the display and the virtual screen.
ここでは簡単の為、ディスプレイ解像度は横800(画素)×縦400(画素)であるものとし、図14では太枠(太い線の矩形)で示している。これに対して、仮想スクリーンは、デフォルト状態では図上点線の矩形で示すイメージとなる。上述したように、デフォルト状態では(表示オフセット位置X73,表示オフセット位置Y74)=(0,0)となっており、図示のように仮想スクリーンの左上角とディスプレイの左上角とが一致しているイメージとなる。このデフォルト状態では、ディスプレイには、仮想スクリーンの上記左上の分割領域の画像が、表示されていることになる。 Here, for the sake of simplicity, it is assumed that the display resolution is 800 (pixels) × 400 (pixels) horizontally, and in FIG. 14, the display resolution is indicated by a thick frame (a rectangle with a thick line). On the other hand, the virtual screen is an image indicated by a dotted-line rectangle in the figure in the default state. As described above, in the default state, (display offset position X73, display offset position Y74) = (0, 0), and the upper left corner of the virtual screen matches the upper left corner of the display as illustrated. It becomes an image. In this default state, the image of the upper left divided area of the virtual screen is displayed on the display.
この状態で、ユーザが例えば図示のようにディスプレイの中心位置(物理座標=(400,300))をタッチした後、タッチしたまま左上角(物理座標=(0,0))まで指先を移動させて、当該左上角で離上操作を行ったとする。この操作に伴って、上述したステップS22の処理によって、最終的には(表示オフセット位置X73,表示オフセット位置Y74)=(400,300)の状態となる。これは、イメージとしては図示のように、仮想スクリーンが図上一点鎖線で示す位置へと移動したイメージとなる。 In this state, for example, after the user touches the center position of the display (physical coordinates = (400, 300)) as shown in the figure, the fingertip is moved to the upper left corner (physical coordinates = (0, 0)) while touching. Suppose that the lifting operation is performed at the upper left corner. In accordance with this operation, the process of step S22 described above finally results in a state of (display offset position X73, display offset position Y74) = (400, 300). As shown in the figure, this is an image in which the virtual screen has moved to the position indicated by the alternate long and short dash line in the figure.
そして、仮想スクリーンが上記点線で示す状態から上記一点鎖線で示す状態へと移動する間、例えば一定周期で上記ステップS22、S23の処理が繰り返し実行されて、その都度、そのときのオフセット位置(表示オフセット位置X73,表示オフセット位置Y74)に基づいて、仮想スクリーンの一部が切り出される。これは、上記太枠で示すディスプレイの大きさの分だけ切り出される。そして、切り出された画像がRAM13に格納されることで、ディスプレイ19上に表示されることになる。
Then, while the virtual screen moves from the state indicated by the dotted line to the state indicated by the one-dot chain line, for example, the processes of steps S22 and S23 are repeatedly performed at a constant cycle, and each time the offset position (display) is displayed. Based on the offset position X73 and the display offset position Y74), a part of the virtual screen is cut out. This is cut out by the size of the display indicated by the thick frame. The clipped image is stored in the
そして、最終的には、上記一点鎖線で示す仮想スクリーンに対して、上記ステップS23の処理が行われるイメージとなる。つまり、仮想スクリーンにおける座標(400,300)を起点にして、そこから幅800、高さ400の領域の画像を切り出す。これは、すなわち、一点鎖線で示す仮想スクリーンに対して、上記太枠で示す領域を切り出すイメージとなる。これは、仮想スクリーンの丁度真ん中の領域を、ディスプレイの大きさの分だけ切り出すことになる。そして、切り出された領域の画像が、RAM13に格納されてディスプレイ19上に表示されることになる。
Finally, an image is obtained in which the process of step S23 is performed on the virtual screen indicated by the alternate long and short dash line. That is, an image of a region having a width of 800 and a height of 400 is cut out from the coordinates (400, 300) on the virtual screen as a starting point. In other words, this is an image of cutting out the area indicated by the thick frame on the virtual screen indicated by the alternate long and short dash line. This cuts just the middle area of the virtual screen by the size of the display. Then, the image of the clipped area is stored in the
例えば上記のようにして、仮想スクリーンが図上点線で示す状態から図上一点鎖線で示す状態へと移動する間、例えば一定周期毎に、そのときの(更新された)オフセット位置に応じて仮想スクリーンの一部を切り出して表示させる。これによって、ディスプレイ19上では、仮想スクリーンの上記左上の分割領域が表示されている状態から上記真ん中の領域が表示される状態へとスクロールする表示となる。
For example, as described above, while the virtual screen moves from the state indicated by the dotted line in the drawing to the state indicated by the one-dot chain line in the drawing, the virtual screen is changed according to the (updated) offset position at that time, for example, at regular intervals. Cut out and display a part of the screen. As a result, the
図15には、上記図14のスクロール後から更にスクロール操作を行った例を示す。 FIG. 15 shows an example in which a scroll operation is further performed after the scroll of FIG.
ここでは、仮想スクリーンが図15において一点鎖線で示す状態において、ユーザが図14と同じ操作を行ったものとする。すなわち、ユーザが例えば図示のようにディスプレイの中心位置(物理座標=(400,300))をタッチした後、そのまま左上角(物理座標=(0,0))まで指先を移動させて、当該左上角で離上操作を行ったとする。 Here, it is assumed that the user performs the same operation as in FIG. 14 in a state where the virtual screen is indicated by a dashed line in FIG. That is, for example, after the user touches the center position of the display (physical coordinates = (400, 300)) as shown in the figure, the fingertip is moved to the upper left corner (physical coordinates = (0, 0)) and the upper left corner is moved. Suppose that a lift operation is performed at a corner.
この操作に伴って、最終的にはオフセット位置が、(表示オフセット位置X73,表示オフセット位置Y74)=(800,600)の状態へと更新される。これは、イメージとしては図示のように、仮想スクリーンが図上に細い実線(細線)で示す位置へと移動したイメージとなる。そして、当該細線で示す仮想スクリーンに対して、上記ステップS23の画像切り出し処理が行われるイメージとなる。つまり、細線で示す仮想スクリーンにおける座標(800,600)を起点にして、そこから幅800、高さ400の領域の画像を切り出す。これは、すなわち、細線で示す仮想スクリーンに対して、上記太枠で示す領域を切り出すイメージとなる。これは、仮想スクリーンが上記4つの分割領域から成るものとした場合、右下の分割領域を切り出すことになる。 Along with this operation, the offset position is finally updated to the state of (display offset position X73, display offset position Y74) = (800, 600). As shown in the figure, this is an image in which the virtual screen is moved to a position indicated by a thin solid line (thin line) in the figure. Then, the image is subjected to the image cut-out process in step S23 on the virtual screen indicated by the thin line. That is, an image of an area having a width of 800 and a height of 400 is cut out from the coordinates (800, 600) on the virtual screen indicated by the thin line as a starting point. In other words, this is an image in which the area indicated by the thick frame is cut out from the virtual screen indicated by the thin line. This means that when the virtual screen is composed of the above four divided areas, the lower right divided area is cut out.
勿論、この場合も、上記図14の例と同様に、移動中も例えば一定周期で、上記オフセット位置を更新すると共に、これに応じて仮想スクリーンの一部を切り出してRAM13に格納する処理が行われる。これによって、ディスプレイ19上では、仮想スクリーンの上記真ん中の領域が表示されている状態から上記右下の分割領域が表示される状態へとスクロールする表示となる。
Of course, in this case as well, as in the example of FIG. 14, the offset position is updated during movement, for example, and a part of the virtual screen is cut out and stored in the
例えば、上述したようにして、本例のプログラマブル表示器1では、各種アイテム表示より成る操作表示画面を表示するプログラマブル表示器において、ディスプレイ表示解像度より大きい操作表示画面を、スクロール表示させることができる。これは、特に、誤って任意のアイテムが操作されたものと見做されて誤動作するような事態が、起こらないようにして、スクロール表示を実現できる。
For example, as described above, in the
ここで、上記ステップS13のアイテム判定処理について、スイッチ領域チェーンリスト90を用いる例について説明する。
Here, an example in which the switch
尚、ここではスイッチ領域チェーンリスト90を参照して押下アイテムを判別する例を示すが、この様な例に限らない。基本的には、画面データ22の不図示のアイテム位置座標やアイテムサイズ等の所定情報を参照すれば、各アイテムが配置されている領域が分かる。これより、ユーザがタッチした位置の座標が、どのアイテムの領域に含まれるのかを判別すれば、押下アイテムを判別できる。よって、普通は、画面データ22等を参照すればよく、スイッチ領域チェーンリスト90は必要ない。
Although an example in which the pressed item is determined by referring to the switch
スイッチ領域チェーンリスト90は、アイテム同士が一部で重なり合うように配置されている場合でも、適切に押下アイテムを判別できるようにする為の情報である。但し、この様なアイテム判別処理は必須ではなく、無くても構わない。
The switch
ここで、図16に、スイッチ領域チェーンリスト90の一例を示す。
Here, FIG. 16 shows an example of the switch
尚、ここでは、各種アイテムのうちスイッチのみを例にして説明するが、この例に限らず、他のアイテムに関しても同様にしてよい。 In addition, although only a switch is demonstrated as an example here among various items, it may be the same also about another item, not only this example.
尚、スイッチ領域チェーンリスト90において、1つのレコードは1つのアイテム(ここでは各スイッチ)に対応している。ここでは、複数のアイテムがあることが前提となるので、スイッチ領域チェーンリスト90は、複数のレコードから成ることになる。
In the switch
各スイッチ領域チェーンリスト90は、上位リンク91、下位リンク92、スイッチアイテム情報へのリンク93、スイッチ領域開始X94、スイッチ領域開始Y95、スイッチ領域終了X96、スイッチ領域終了Y97等から成る。
Each switch
上位リンク91は、そのスイッチの上位に配置されたスイッチに対応するレコードへのリンク(ポインタ等)である。
The
下位リンク92は、そのスイッチの下位に配置されたスイッチに対応するレコードへのリンク(ポインタ等)である。
The
スイッチアイテム情報へのリンク93は、画面データ22等における、そのスイッチに関する情報が登録されたレコードへのリンク(ポインタ等)である。但し、この例に限らない。各アイテム毎にユニークな識別ID(アイテムIDと呼ぶ)が予め割り当てられており、当該アイテムIDを用いて画面データ22等における各レコードを管理している場合には、このアイテムのアイテムIDが“スイッチアイテム情報へのリンク”93に格納されるものであってもよい。
The
スイッチ領域チェーンリスト90を用いてユーザ操作されたアイテムを判別したら、この操作アイテムのレコードの“スイッチアイテム情報へのリンク93”を用いて、リンク先の情報を参照して、例えば操作アイテムの機能を実行することになる。
When the item operated by the user is determined using the switch
スイッチ領域開始X94、スイッチ領域開始Y95、スイッチ領域終了X96、スイッチ領域終了Y97の全てによって、そのスイッチが配置されている領域(配置領域)が示される。これは、後述する図17(a)等に示すような矩形のスイッチを想定しており、この矩形の左上角のXY座標が上記スイッチ領域開始X94とスイッチ領域開始Y95であり、この矩形の右下角のXY座標が上記スイッチ領域終了X96とスイッチ領域終了Y97である。 A switch area start X94, a switch area start Y95, a switch area end X96, and a switch area end Y97 all indicate an area (arrangement area) where the switch is arranged. This assumes a rectangular switch as shown in FIG. 17A and the like, which will be described later, and the XY coordinates of the upper left corner of the rectangle are the switch area start X94 and the switch area start Y95. The XY coordinates of the lower corner are the switch area end X96 and the switch area end Y97.
尚、上記“そのスイッチ”とは、そのレコードに対応するスイッチである
上記ステップS13の判定処理では、上記スイッチ領域チェーンリスト90の各レコードの配置領域のなかに、上記タッチ位置座標が含まれる配置領域があるか否かを判別する。該当するものが1つのみであれば、そのスイッチが操作アイテムであると判定すればよい。しかし、該当するものが複数(基本的には2つ)ある場合には、上記上位リンク91、下位リンク92を用いた操作スイッチ判別処理を行う。尚、操作アイテムとは、ユーザによってタッチ操作されたアイテムであり、基本的には従来通り、操作アイテムの機能が実行されることになる。Note that the “that switch” is a switch corresponding to the record. In the determination process in step S13, an arrangement in which the touch position coordinates are included in the arrangement area of each record in the switch
ここで、上記スイッチ領域チェーンリスト90について、図17、図18も参照して説明する。
Here, the switch
図17(a)、図18(a)に示す例では、スイッチA、スイッチB、スイッチCの3つのスイッチ・アイテムが配置されている。そして、図示のように、スイッチAとスイッチBとは一部重なっており、スイッチBとスイッチCも一部が重なっている。これは、スイッチBがスイッチAの上側(上位)となるように重なっている。スイッチCがスイッチBの上側(上位)となるように重なっている。 In the example shown in FIGS. 17A and 18A, three switch items of switch A, switch B, and switch C are arranged. As shown in the figure, the switch A and the switch B partially overlap, and the switch B and the switch C also partially overlap. This overlaps so that the switch B is on the upper side (upper order) of the switch A. The switches C overlap so that they are above (upper) the switch B.
そして、例えば図17(a)に示す例のように、ユーザが図上“手”の絵で示す指先の位置をタッチする場合には、上記画面データ22等を用いる判別処理でも問題ない。つまり、スイッチAが操作されたものと判別できる。しかしながら、ユーザが例えばスイッチAとスイッチBとが重なる領域内をタッチした場合、上記画面データ22を用いる判別処理では、スイッチAとスイッチBの両方が該当してしまう。これに対して、本例では、スイッチ領域チェーンリスト90を用いることで、相対的に上位(上側)のスイッチが操作されたものと判別する。
When the user touches the position of the fingertip indicated by the picture of “hand” in the figure as in the example shown in FIG. 17A, for example, there is no problem in the determination process using the
図17(b)に示す例では、例えばスイッチBを例にすると、上位リンク91が“スイッチC”、下位リンク92が“スイッチA”となっている。これより、例えばスイッチAとスイッチBとが重なる領域内がタッチされた場合、スイッチBから見てスイッチAは下位であると認識できるので、スイッチBが操作されたものと判定できる。同様に、例えばスイッチCとスイッチBとが重なる領域内がタッチされた場合、スイッチBから見てスイッチCは上位であると認識できるので、スイッチCが操作されたものと判定できる。
In the example shown in FIG. 17B, for example, in the case of the switch B, the
そして、上記のように操作アイテムと見做されたスイッチのレコードにおける“スイッチアイテム情報へのリンク93”を用いることで、このスイッチに関する所定情報(不図示)を取得して、これに基づいてこのスイッチの機能を実行することができる。 Then, by using the “link 93 to the switch item information” in the record of the switch regarded as the operation item as described above, predetermined information (not shown) regarding this switch is acquired, and based on this, this information is acquired. The function of the switch can be performed.
一方、図18(a)に示すように、ユーザがスイッチA、スイッチB、スイッチCの何れに該当しない領域(空き領域)をタッチ操作した場合には、スイッチ領域チェーンリスト90を用いた上述する判定処理によって、該当するアイテムは無いと判定されることになる。この場合、上記ステップS13の判定結果はNOとなって、ステップS15へ移行することになる。
On the other hand, as shown in FIG. 18A, when the user touches an area (empty area) that does not correspond to any of the switch A, the switch B, and the switch C, the above-described operation using the switch
ここで、オーバーラップ画像が表示される場合について説明する。 Here, a case where an overlap image is displayed will be described.
オーバーラップ画像とは、操作表示画面上にポップアップ等されるウィンドウ等であり、例えばダイアログボックスやバナー等である。オーバーラップ画像が表示される場合、まず、画面データ22等に基づいて各アイテム画像等から成る操作表示画面の画像を生成し、この画像上の所定位置にオーバーラップ画像を上書き描画することで、例えば上記仮想スクリーン全体画像データ54を生成する。尚、ここでは、オーバーラップ画像は予め所定の画像が登録されているものとするが、この例に限らない。
The overlap image is a window or the like that pops up on the operation display screen, such as a dialog box or a banner. When an overlap image is displayed, first, an operation display screen image including each item image is generated based on the
そして、本手法では、上記のように、そのときの表示オフセット位置に基づいて、上記仮想スクリーン全体画像データ54が切出されるので、一緒にオーバーラップ画像も切出される。スクロール操作によって表示オフセット位置が変われば、オーバーラップ画像の切出し場所も変わることになる。これによって、例えば図19(c)、(d)に示すように、スクロール表示に伴って一緒にオーバーラップ画像もスクロールしていく表示となる。そして、場合によってはオーバーラップ画像が画面上から消える場合も有り得る。
In this method, as described above, since the entire virtual
ここで、従来より、“グローバルオーバーラップ画像”と呼ばれる特殊なオーバーラップ画像がある。“グローバルオーバーラップ画像”は、例えば警報、警告等を表示するオーバーラップ画像であり、従ってスクリーンがスクロールしても表示し続ける必要がある。この為、上記通常のオーバーラップ画像のように操作表示画面のスクロールに伴って消える可能性がある表示とすることは、望ましくない。 Here, conventionally, there is a special overlap image called “global overlap image”. The “global overlap image” is an overlap image that displays, for example, an alarm or a warning, and therefore needs to be continuously displayed even when the screen is scrolled. For this reason, it is not desirable to make the display display that may disappear as the operation display screen is scrolled like the normal overlap image.
つまり、図19(a)に示すように、スクリーン上に“グローバルオーバーラップ画像”が表示されていた場合、スクロール操作によって図19(b)に示すように操作表示画面の画像はスクロールしても“グローバルオーバーラップ画像”はそのままの位置で表示し続けるようにすることが望ましい。 That is, as shown in FIG. 19A, when the “global overlap image” is displayed on the screen, the image on the operation display screen is scrolled as shown in FIG. 19B by the scroll operation. It is desirable to continue displaying the “global overlap image” at the position as it is.
これを実現する為に、例えば上記図8の例において当該図8には図示していないが、不図示の“グローバルオーバーラップ画像記憶部”を設ける。これは、例えばCPU内の不図示のメモリ等に、グローバルオーバーラップ画像を格納するメモリ領域を、更に設けるようにする。そして、“グローバルオーバーラップ画像”を表示するイベントが生じた際には、“グローバルオーバーラップ画像記憶部”に“グローバルオーバーラップ画像”を格納する処理を行うものとする。“グローバルオーバーラップ画像”自体は、予め所定の画像が登録されており、所定のイベント(何等かの異常検知等)が発生すると、この登録画像が“グローバルオーバーラップ画像記憶部”に格納される。 In order to realize this, for example, in the example of FIG. 8, although not shown in FIG. 8, a “global overlap image storage unit” (not shown) is provided. For this purpose, for example, a memory area for storing the global overlap image is further provided in a memory (not shown) in the CPU. When an event for displaying a “global overlap image” occurs, a process of storing the “global overlap image” in the “global overlap image storage unit” is performed. As the “global overlap image” itself, a predetermined image is registered in advance, and when a predetermined event (such as some abnormality detection) occurs, this registered image is stored in the “global overlap image storage unit”. .
そして、例えば、上記スクリーン表示切り出し描画処理部53は、上述した画像切出し・格納処理を実行する毎に、“グローバルオーバーラップ画像記憶部”に画像が格納されている場合には、このグローバルオーバーラップ画像を上記切出した画像上に上書き描画する。すなわち、上記スクリーン表示切り出し描画処理部53は、上述したように、表示オフセット位置に基づいて上記仮想スクリーン全体画像データ54の一部を切出して、この切出し画像をRAM13に格納する。更に、“グローバルオーバーラップ画像記憶部”に画像が格納されている場合には、このグローバルオーバーラップ画像をRAM13上の所定の記憶領域に上書き格納する。当該所定の記憶領域は、上記切出し画像を格納する記憶領域内の一部である。
For example, the screen display cutout
この様にすることで、スクロール操作に伴って上記切出し画像が変化しても、グローバルオーバーラップ画像は表示位置が変わることなく表示し続けることになる。すなわち、例えば、図19(a)、(b)に示すような表示となる。 In this way, even if the cutout image changes with the scroll operation, the global overlap image continues to be displayed without changing the display position. That is, for example, the display is as shown in FIGS. 19 (a) and 19 (b).
尚、例えば何らかの警報が発生した場合、グローバルオーバーラップ画像”を上記“グローバルオーバーラップ画像記憶部”に格納する処理を行い、警報が解除されたら“グローバルオーバーラップ画像記憶部”の画像を消去する処理を行うようにしてもよい。 For example, when an alarm occurs, a process of storing the global overlap image in the “global overlap image storage unit” is performed, and when the alarm is released, the image in the “global overlap image storage unit” is deleted. Processing may be performed.
図20は、本例のプログラマブル表示器1の機能ブロック図である。
FIG. 20 is a functional block diagram of the
本例のプログラマブル表示器1は、タッチパネル18とディスプレイ19を有するプログラマブル表示器である。
The
図示のプログラマブル表示器1は、スクリーン記憶部101、スクロール操作検出部102、オフセット位置更新部103、画像切出部104、表示制御部105、アイテム機能実行部106、スクリーン更新部107、グローバル画像記憶部108等の各種処理機能部を有する。尚、これら各種処理機能部は、例えば、上記CPU11が上記ROM12等に予め記憶されているアプリケーションプログラムを実行することにより実現される。
The illustrated
スクリーン記憶部101は、上記ディスプレイ19の表示解像度より大きいスクリーン画像を記憶する。換言すれば、上記ディスプレイ19の表示解像度を上回るスクリーンデータを記憶する。つまり、例えば上記“仮想スクリーンの画像”を記憶する。
The
スクロール操作検出部102は、ユーザによる上記タッチパネル18上でのスクロール操作を検出して、この検出結果に基づいて移動方向と移動量を求める。
The scroll
オフセット位置更新部103は、これら移動方向と移動量に基づいてオフセット位置を更新する。これは、例えば上述した一実施例では、表示オフセット位置X73、表示オフセット位置Y74の値を更新するものである。
The offset
画像切出部104は、上記オフセット位置に基づいて上記スクリーン画像(スクリーンデータ)の一部を切り出して表示用メモリに格納する。表示用メモリの一例が、上述したRAM13である。
The
表示制御部105は、上記表示用メモリに格納される画像を上記ディスプレイ上に表示する。表示制御部105の一例が、上述したグラフィックコントローラ15である。
The
そして、例えば、上記スクリーン画像(スクリーンデータ)は1以上のアイテム画像から成り、上記スクロール操作検出部102は、上記アイテム画像が無い空き領域がタッチされた場合、スクロール操作開始と判定する。
For example, the screen image (screen data) includes one or more item images, and the scroll
また、例えば、上記スクロール操作検出部102は、上記スクロール操作開始と判定した場合、特定モードへと移行させ、該特定モード中にタッチ位置移動を検出する毎に上記移動方向と移動量を求める。この特定モードの一例が、上述したスクリーンスクロールモードである。
Further, for example, when the scroll
また、例えば、上記オフセット位置更新部103は、上記移動方向と移動量が求められる毎に上記オフセット位置更新処理を実行する。
Further, for example, the offset
また、プログラマブル表示器1は、例えば、任意のアイテム画像の表示位置がタッチされると該アイテムの機能を実行するアイテム機能実行部106を更に有する。但し、アイテム機能実行部106は、既存の機能である。ユーザが、スクロール操作を開始する為にディスプレイ上(タッチパネル上)の任意の位置をタッチしたとき、アイテム画像をタッチすると、上記既存機能によってユーザが望まない動作が起こってしまうことになる。それ故、本手法では、上記のようにスクロール操作に関しては空き領域を利用するようにしている。
Moreover, the
また、上記画像切出部104は、例えば、上記オフセット位置を起点として、該起点からディスプレイ19の幅と高さに相当する大きさの領域を、上記スクリーン画像(スクリーンデータ)から切り出す。例えば、ユーザによるスクロール操作に応じて、上記オフセット位置が更新されていくと、それに応じて上記スクリーン画像から切出す部分も変わっていくことになる。これによって、ディスプレイ19上では、スクリーン画像がスクロール表示されることになる。
In addition, the
尚、上記オフセット位置は、例えば、デフォルトではディスプレイ19上の物理座標系の基点座標(0,0)である。また、尚、上記移動方向と移動量は、例えば、上記スクロール操作開始位置から現在位置までの移動方向と移動量である。
The offset position is, for example, the base coordinate (0, 0) of the physical coordinate system on the
また、プログラマブル表示器1は接続機器4に接続されており、上記各アイテムには予め接続機器4内の所定のメモリ領域が割り当てられている。
Moreover, the
そして、上記スクリーン更新部107は、各アイテム毎に、随時、予め設定される所定情報と上記割当メモリ領域から取得したデータとに基づいて、上記アイテム画像の内容を生成・更新することで、前記スクリーン画像(スクリーンデータ)の内容を更新する。
Then, the
スクリーン更新部107は、基本的には既存機能と見做してよいが、更新対象のスクリーン画像(スクリーンデータ)が上記“仮想スクリーン”である場合、スクロール中に表示内容が変わることもあり得る。
The
また、例えば、上記仮想スクリーン画像は、1以上のアイテムに関する情報である画面データ22等に基づいて生成される操作表示画面上に、任意の画像がオーバーラップされて成る画像であってもよい。
Further, for example, the virtual screen image may be an image in which an arbitrary image is overlapped on an operation display screen generated based on the
この例の場合、該オーバーラップ画像を含む仮想スクリーン画像に対して、上記画像切出部104による切出し処理が行われることになる。これによって、上記表示用メモリに格納される画像には、オーバーラップ画像も含まれる場合があることになる。また、オフセット位置が変われば、オーバーラップ画像からの切出し場所も変わることになる。これによって、上記操作表示画面がスクロールする表示が行われる場合、オーバーラップ画像も一緒にスクロールする表示となる。
In the case of this example, the clipping process by the
また、例えば、スクロール表示状態に関係なく表示し続ける必要があるオーバーラップ画像であるグローバルオーバーラップ画像を表示する場合に、該グローバルオーバーラップ画像を記憶するグローバル画像記憶部205を更に有する構成であってもよい。 In addition, for example, when displaying a global overlap image that is an overlap image that needs to be displayed regardless of the scroll display state, the configuration further includes a global image storage unit 205 that stores the global overlap image. May be.
この場合、上記画像切出部104は、上記仮想スクリーン画像の一部を切り出して表示用メモリに格納した後、該グローバル画像記憶部205に上記グローバルオーバーラップ画像が記憶されている場合には、当該グローバルオーバーラップ画像を表示用メモリ内の所定の記憶領域に上書き格納する。当該所定の記憶領域は、上記切出した画像を格納する記憶領域内の一部である。これによって、例えば上記図19(a)、(b)に示したスクロール表示が行われることになる。
In this case, the
また、支援装置5は、その処理機能として例えば図示の設定部111を有するものであってもよい。設定部111は、例えば上記図4、図5で説明した画面表示を行って、ユーザに所望の画面データ作成や設定などを行わせるものである。その際、図4、図5で説明したように、スクリーン自体の設定も行うことができ、特にスクリーンサイズの設定をユーザが任意に行えるようにする。
Further, the
以上説明したように、本例のプログラマブル表示器1によれば、各種アイテム表示より成る操作表示画面を表示するプログラマブル表示器において、ディスプレイ表示解像度より大きい操作表示画面をスクロール表示させることができる。
As described above, according to the
Claims (11)
前記ディスプレイの表示解像度を上回るスクリーンデータを記憶するスクリーン記憶手段と、
前記タッチパネル上でのスクロール操作を検出して、移動方向と移動量を求めるスクロール操作検出手段と、
該移動方向と移動量に基づいてオフセット位置を更新するオフセット位置更新手段と、
前記オフセット位置に基づいて前記スクリーンデータの一部を切り出して表示用メモリに格納する画像切出手段と、
前記表示用メモリに格納される画像を前記ディスプレイ上に表示する表示制御手段と、
を有することを特徴とするプログラマブル表示器。In a programmable display having a touch panel and a display,
Screen storage means for storing screen data exceeding the display resolution of the display;
A scroll operation detecting means for detecting a scroll operation on the touch panel and obtaining a moving direction and a moving amount;
Offset position updating means for updating the offset position based on the moving direction and the moving amount;
Image cutout means for cutting out a part of the screen data based on the offset position and storing it in a display memory;
Display control means for displaying an image stored in the display memory on the display;
A programmable display device comprising:
前記スクロール操作検出手段は、前記アイテム画像が無い空き領域がタッチされた場合、スクロール操作開始と判定することを特徴とする請求項1記載のプログラマブル表示器。The screen data consists of one or more item images,
The programmable display device according to claim 1, wherein the scroll operation detection unit determines that the scroll operation is started when an empty area without the item image is touched.
前記オフセット位置更新手段は、該移動方向と移動量が求められる毎に前記オフセット位置更新を実行することを特徴とする請求項2記載のプログラマブル表示器。When the scroll operation detecting means determines to start the scroll operation, the scroll operation detecting means shifts to a specific mode, and obtains the moving direction and the moving amount each time a touch position movement is detected during the specific mode,
3. The programmable display device according to claim 2, wherein the offset position update means performs the offset position update every time the movement direction and the movement amount are obtained.
前記各アイテムには予め前記接続機器内の所定のメモリ領域が割り当てられており、
前記各アイテム毎に、随時、予め設定される所定情報と前記割当メモリ領域から取得したデータとに基づいて、前記アイテム画像の内容を生成・更新することで、前記スクリーンデータの内容を更新するスクリーン更新手段を更に有することを特徴とする請求項2記載のプログラマブル表示器。The programmable display is connected to a connection device,
Each item is assigned a predetermined memory area in the connected device in advance,
A screen for updating the content of the screen data by generating / updating the content of the item image based on predetermined information set in advance and data acquired from the allocated memory area as needed for each item. The programmable display according to claim 2, further comprising updating means.
前記画像切出手段は、前記オフセット位置に基づいて、該オーバーラップ画像を含むスクリーンデータの一部を切り出して前記表示用メモリに格納することを特徴とする請求項1記載のプログラマブル表示器。The screen data stored in the screen storage means is an image formed by overlapping an arbitrary image on an operation display screen generated based on screen data that is information on one or more items.
2. The programmable display device according to claim 1, wherein the image cutout means cuts out a part of the screen data including the overlap image based on the offset position and stores the cutout data in the display memory.
前記画像切出手段は、前記切り出した画像を前記表示用メモリに格納する毎に、前記グローバル画像記憶手段に画像が記憶されている場合には該画像を前記表示用メモリに上書き格納することを特徴とする請求項1記載のプログラマブル表示器。A global image storage means for storing the global overlap image when displaying a global overlap image that is an overlap image that needs to be continuously displayed regardless of the scroll display state;
Each time the image cutout means stores the cutout image in the display memory, if the image is stored in the global image storage means, the image cutout means overwrites and stores the image in the display memory. The programmable display device according to claim 1, wherein:
前記ディスプレイの表示解像度を上回るスクリーンデータを記憶するスクリーン記憶手段と、
前記タッチパネル上でのスクロール操作を検出して、移動方向と移動量を求めるスクロール操作検出手段と、
該移動方向と移動量に基づいてオフセット位置を更新するオフセット位置更新手段と、
前記オフセット位置に基づいて前記スクリーンデータの一部を切り出して表示用メモリに格納する画像切出手段と、
前記表示用メモリに格納される画像を前記ディスプレイ上に表示する表示制御手段、
として機能させる為のプログラム。
A programmable display computer having a touch panel and a display,
Screen storage means for storing screen data exceeding the display resolution of the display;
A scroll operation detecting means for detecting a scroll operation on the touch panel and obtaining a moving direction and a moving amount;
Offset position updating means for updating the offset position based on the moving direction and the moving amount;
Image cutout means for cutting out a part of the screen data based on the offset position and storing it in a display memory;
Display control means for displaying an image stored in the display memory on the display;
Program to function as.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2013/079190 WO2015063847A1 (en) | 2013-10-29 | 2013-10-29 | Programmable display apparatus and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPWO2015063847A1 true JPWO2015063847A1 (en) | 2017-03-09 |
Family
ID=53003498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015544648A Pending JPWO2015063847A1 (en) | 2013-10-29 | 2013-10-29 | Programmable display, program |
Country Status (3)
Country | Link |
---|---|
JP (1) | JPWO2015063847A1 (en) |
CN (1) | CN105659205A (en) |
WO (1) | WO2015063847A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760081B (en) * | 2016-02-29 | 2019-04-02 | 深圳天珑无线科技有限公司 | A kind of acquisition methods and terminal device of information |
JP6878934B2 (en) * | 2017-02-10 | 2021-06-02 | オムロン株式会社 | Information processing equipment, information processing system, user interface creation method, and user interface creation program |
CN107766703B (en) * | 2017-09-14 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Watermark adding processing method and device and client |
WO2022249471A1 (en) * | 2021-05-28 | 2022-12-01 | 日産自動車株式会社 | Display control device and display control method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0527744A (en) * | 1991-07-22 | 1993-02-05 | Nec Corp | Display processing system for display screen |
JP2010157820A (en) * | 2008-12-26 | 2010-07-15 | Sharp Corp | Control system, and control method |
JP2012099116A (en) * | 2011-11-10 | 2012-05-24 | Nec Corp | Information processor, window display method and program |
JP2012128719A (en) * | 2010-12-16 | 2012-07-05 | Digital Electronics Corp | Programmable display and data display program |
JP2012160073A (en) * | 2011-02-01 | 2012-08-23 | Mitsubishi Electric Corp | Programmable display |
JP2013092942A (en) * | 2011-10-26 | 2013-05-16 | Sony Computer Entertainment Inc | Scroll control device, terminal equipment and scroll control method |
-
2013
- 2013-10-29 CN CN201380080027.XA patent/CN105659205A/en active Pending
- 2013-10-29 WO PCT/JP2013/079190 patent/WO2015063847A1/en active Application Filing
- 2013-10-29 JP JP2015544648A patent/JPWO2015063847A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0527744A (en) * | 1991-07-22 | 1993-02-05 | Nec Corp | Display processing system for display screen |
JP2010157820A (en) * | 2008-12-26 | 2010-07-15 | Sharp Corp | Control system, and control method |
JP2012128719A (en) * | 2010-12-16 | 2012-07-05 | Digital Electronics Corp | Programmable display and data display program |
JP2012160073A (en) * | 2011-02-01 | 2012-08-23 | Mitsubishi Electric Corp | Programmable display |
JP2013092942A (en) * | 2011-10-26 | 2013-05-16 | Sony Computer Entertainment Inc | Scroll control device, terminal equipment and scroll control method |
JP2012099116A (en) * | 2011-11-10 | 2012-05-24 | Nec Corp | Information processor, window display method and program |
Also Published As
Publication number | Publication date |
---|---|
WO2015063847A1 (en) | 2015-05-07 |
CN105659205A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6006399B2 (en) | Programmable display, its program | |
CN103403793A (en) | Programmable display apparatus and image data creation method | |
WO2015063847A1 (en) | Programmable display apparatus and program | |
JP2014032529A (en) | Plc system, drawing editor device thereof, and programmable display | |
JP7384260B2 (en) | Information processing device and program | |
JP6488653B2 (en) | Display device, display control method, and display system | |
JP5988450B2 (en) | Method for displaying nodes, computer for displaying nodes, and computer program therefor | |
JP2013012063A (en) | Display control apparatus | |
CN110546605B (en) | Program development support device, program development support method, and storage medium | |
JP6033394B2 (en) | Programmable display, its program | |
WO2015059816A1 (en) | Programmable display device, and program | |
JP6333279B2 (en) | Programmable display, program | |
JP5970080B2 (en) | Programmable display, program | |
JP5847965B2 (en) | Programmable controller system, programmable display, support device, program | |
KR20140016822A (en) | Information terminal having touch screens, control method therefor, and storage medium | |
WO2014112060A1 (en) | Programmable controller system, programmable display, support device, and program | |
JP5870214B2 (en) | Programmable controller system, its programmable display, support device, program | |
JP6207694B2 (en) | Programmable display, program | |
JP6095743B2 (en) | Support device, program | |
JP5762257B2 (en) | Plant monitoring and control device | |
JP5335138B2 (en) | Cam data creation device and cam data creation program | |
JP2016115215A (en) | Image display system, image display method, and program | |
JP2016115308A (en) | Preview display, printer, preview display method, printing method, preview display program and storage medium | |
JP5338437B2 (en) | Remote control system | |
JP2009169548A (en) | Information processor, its multi-window display method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170530 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170622 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170822 |