Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6910220B2 - Programmable display - Google Patents
[go: Go Back, main page]

JP6910220B2 - Programmable display - Google Patents

Programmable display Download PDF

Info

Publication number
JP6910220B2
JP6910220B2 JP2017125462A JP2017125462A JP6910220B2 JP 6910220 B2 JP6910220 B2 JP 6910220B2 JP 2017125462 A JP2017125462 A JP 2017125462A JP 2017125462 A JP2017125462 A JP 2017125462A JP 6910220 B2 JP6910220 B2 JP 6910220B2
Authority
JP
Japan
Prior art keywords
display
frequency
display area
read
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017125462A
Other languages
Japanese (ja)
Other versions
JP2019008661A (en
Inventor
エム エー ビクラム
エム エー ビクラム
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Schneider Electric Japan Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Schneider Electric Japan Holdings Ltd filed Critical Schneider Electric Japan Holdings Ltd
Priority to JP2017125462A priority Critical patent/JP6910220B2/en
Publication of JP2019008661A publication Critical patent/JP2019008661A/en
Application granted granted Critical
Publication of JP6910220B2 publication Critical patent/JP6910220B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、変数値に応じて動的に状態が変化するオブジェクトを含む画像を表示する、プログラマブル表示器に関する。 The present invention relates to a programmable display that displays an image containing an object whose state dynamically changes according to a variable value.

プログラマブルロジックコントローラ(PLC)に接続されたデバイスの稼働状況を表示したり、PLCへの指示等の各種の操作を受け付けたりするプログラマブル表示器が、従来から開発されている。プログラマブル表示器は、タッチパネルモニタ等の表示装置兼入力装置を有しており、上記稼働状況を示すメーターおよびランプ等のオブジェクト、ならびにユーザの操作を受け付けるボタン等のオブジェクトが含まれた画像を表示する。 Programmable indicators that display the operating status of devices connected to a programmable logic controller (PLC) and accept various operations such as instructions to PLC have been conventionally developed. The programmable display has a display device and an input device such as a touch panel monitor, and displays an image including objects such as meters and lamps indicating the above operating status and objects such as buttons that accept user operations. ..

近年のプログラマブル表示器では、該表示器の表示画面の解像度よりも大きな画像を描画し、該画像の一部を表示させることが一般的である。例えば、下記特許文献1には、ディスプレイの解像度よりも大きな仮想スクリーンをスクロール表示させることができるプログラマブル表示器であって、一定周期で接続機器との通信を行って表示内容の更新を行うプログラマブル表示器が開示されている。 In recent programmable displays, it is common to draw an image larger than the resolution of the display screen of the display and display a part of the image. For example, Patent Document 1 below describes a programmable display capable of scrolling a virtual screen larger than the resolution of the display, and a programmable display that communicates with a connected device at regular intervals to update the display contents. The vessel is disclosed.

国際公開第2015/063847号(2015年5月7日公開)International Publication No. 2015/063847 (Released on May 7, 2015) 特開2013−20395号公報(2013年1月31日公開)Japanese Unexamined Patent Publication No. 2013-20395 (published on January 31, 2013) 特表2016−503545号公報(2016年2月4日公開)Special Table 2016-503545 (published on February 4, 2016)

プログラマブル表示器は、画像に含まれるオブジェクトの表示に、PLCから読み出すデバイス値およびビット値等の変数値を反映させることができる。プログラマブル表示器がPLCから変数値を読み出す頻度は、プログラマブル表示器の内部設定等で一定頻度に設定することができるが、プログラマブル表示器における最高頻度に設定されることが多い。これは、変数値に応じて各オブジェクトの表示を細やかに変化させるためには、変数値をよりリアルタイムに近い頻度で読み出す必要があるためである。 The programmable display can reflect variable values such as device values and bit values read from the PLC in the display of objects included in the image. The frequency with which the programmable display reads the variable value from the PLC can be set to a constant frequency by the internal setting of the programmable display or the like, but it is often set to the highest frequency in the programmable display. This is because it is necessary to read the variable value at a frequency closer to real time in order to finely change the display of each object according to the variable value.

しかしながら、読出頻度を最高頻度に設定した場合、従来技術に係るプログラマブル表示器では、表示されないオブジェクトが参照する変数値を必要以上に高頻度で読み出すことになり、変数値の読み出しに係る処理負荷が増大する。処理負荷が増大すると、プログラマブル表示器における画像の描画速度および画面更新の速度が低下してしまい、却って表示品質が低下してしまう虞があった。 However, when the read frequency is set to the highest frequency, the programmable display according to the prior art reads the variable value referred to by the invisible object more frequently than necessary, and the processing load related to the read of the variable value becomes high. Increase. If the processing load increases, the image drawing speed and screen update speed of the programmable display will decrease, and there is a risk that the display quality will deteriorate.

本発明は、上記問題点に鑑みてなされたものであり、その目的は、プログラマブル表示器の処理負荷を低減することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to reduce the processing load of a programmable display.

上記の課題を解決するために、本発明の一態様に係るプログラマブル表示器は、変数値に応じて動的に状態が変化するオブジェクトを配置した第1画像の一部分を、表示領域として表示するプログラマブル表示器であって、コントローラからの上記変数値の読出頻度を決定する読出頻度決定部と、上記読出頻度決定部が決定した上記読出頻度で上記コントローラから上記変数値を読み出す読出部と、上記変数値に応じて上記オブジェクトを再描画する表示更新部と、を備え、上記読出頻度決定部は、上記表示領域の範囲外に位置しているオブジェクトの上記読出頻度を、少なくとも一部が上記表示領域の範囲内に位置しているオブジェクトの上記読出頻度よりも、低い頻度に決定する。 In order to solve the above problems, the programmable display according to one aspect of the present invention is programmable to display a part of a first image in which an object whose state changes dynamically according to a variable value is arranged as a display area. A display, a read frequency determination unit that determines the read frequency of the variable value from the controller, a read unit that reads the variable value from the controller at the read frequency determined by the read frequency determination unit, and the variable. A display update unit that redraws the object according to the value is provided, and the read frequency determination unit determines the read frequency of an object located outside the range of the display area, at least in part of the display area. It is determined that the frequency of reading the objects located within the range of is lower than the above-mentioned reading frequency.

上記オブジェクトは読出頻度を変更可能なオブジェクトを示している。しかしながら、上記第1画像は、読出頻度が一定であるオブジェクトを含んでいてもよい。例えば、トレンドグラフを描画する機能、またはデータロギングの機能を有するオブジェクトの読出頻度は、一定としてもよい。このようなオブジェクトは、変数値を一定間隔で読み出してグラフ化する、またはログをとる必要があるからである。読出頻度が一定であるオブジェクトが参照する変数値については、該オブジェクトが表示領域の範囲内であるか範囲外であるかに関わらず、一定の読出頻度で読み出される。 The above object indicates an object whose read frequency can be changed. However, the first image may include an object whose reading frequency is constant. For example, the reading frequency of an object having a function of drawing a trend graph or a function of data logging may be constant. This is because such objects need to read variable values at regular intervals and graph or log them. Variable values referenced by an object with a constant read frequency are read at a constant read frequency regardless of whether the object is within or outside the display area.

上記の構成または方法によれば、プログラマブル表示器は、表示していないオブジェクトに係る変数値の読み込み頻度を低下させる。これにより、変数値の読み出しに係る処理負荷を低減することができる。したがって、プログラマブル表示器における画像の描画速度および画面更新の速度を向上させることができる。 According to the above configuration or method, the programmable display reduces the frequency of reading variable values for non-displaying objects. As a result, the processing load related to reading the variable value can be reduced. Therefore, it is possible to improve the image drawing speed and the screen update speed of the programmable display.

従来のプログラマブル表示器では、各オブジェクトに係る変数値の読出頻度が一様であるため、第1画像に含まれるオブジェクトの数が増えるほど処理負荷がより増大していた。一方、上記の構成によれば、プログラマブル表示器は、オブジェクトの数が増加した場合でも、表示していないオブジェクトに係る変数値の読み出し頻度を抑えることができる。そのため、第1画像のサイズが大きい場合等、第1画像がより多くのオブジェクトを含む場合の処理負荷を低減することができるため、オブジェクトの数が増加した場合でもプログラマブル表示器における画像の描画速度および画面更新の速度を確保することができる。 In the conventional programmable display, since the frequency of reading the variable values related to each object is uniform, the processing load increases as the number of objects included in the first image increases. On the other hand, according to the above configuration, the programmable display can suppress the reading frequency of the variable value related to the non-displayed object even when the number of objects increases. Therefore, the processing load when the first image contains more objects, such as when the size of the first image is large, can be reduced, so that the drawing speed of the image on the programmable display is increased even when the number of objects increases. And the speed of screen update can be secured.

上記の課題を解決するために、上記第1画像は、第1オブジェクトと、該第1オブジェクトの上記変数値の参照先である第2オブジェクトと、を含み、上記読出頻度決定部は、上記第1オブジェクトが上記表示領域の範囲内に位置している場合、上記第2オブジェクトの位置に関わらず、当該第2オブジェクトが上記表示領域の範囲内に位置しているとみなして上記読出頻度を決定してもよい。 In order to solve the above problem, the first image includes a first object and a second object which is a reference destination of the variable value of the first object, and the read frequency determination unit is the first object. When one object is located within the range of the display area, it is considered that the second object is located within the range of the display area regardless of the position of the second object, and the read frequency is determined. You may.

上記の構成によれば、プログラマブル表示器は、表示していないオブジェクトであっても、表示しているオブジェクトが変数値を参照しているオブジェクトについては、高い読出頻度を確保する。これにより、表示しているオブジェクトに対する変数値を高い反映頻度に確保することができる。したがって、ユーザに変数値の反映遅れ等の表示の違和感を与えることなく、プログラマブル表示器における画像の描画速度および画面更新の速度を向上させることができる。 According to the above configuration, the programmable display ensures a high read frequency for an object whose display refers to a variable value, even if the object is not displayed. As a result, the variable value for the displayed object can be secured with a high reflection frequency. Therefore, it is possible to improve the image drawing speed and the screen update speed on the programmable display without giving the user a sense of display discomfort such as a delay in reflecting the variable value.

上記の課題を解決するために、上記プログラマブル表示器は、上記第1画像に対する上記表示領域の位置および大きさの少なくとも一方を、ユーザの入力操作に応じて変更する表示領域変更部を備え、上記読出頻度決定部は、上記表示領域変更部が上記表示領域の位置および大きさの少なくとも一方を変更した場合、上記読出頻度を再決定してもよい。 In order to solve the above problems, the programmable display includes a display area changing unit that changes at least one of the position and size of the display area with respect to the first image according to a user's input operation. The read frequency determination unit may redetermine the read frequency when the display area change unit changes at least one of the position and size of the display area.

上記の構成によれば、プログラマブル表示器は、例えばユーザの画面スクロールまたは画面の拡大/縮小等の操作に応じて表示領域が変化した場合、該変化に伴って動的に読出頻度を変更する。これにより、ユーザに変数値の反映遅れ等の表示の違和感を与えることなく、プログラマブル表示器における画像の描画速度および画面更新の速度を向上させることができる。 According to the above configuration, when the display area changes according to an operation such as scrolling the screen of the user or enlarging / reducing the screen, the programmable display dynamically changes the reading frequency according to the change. As a result, it is possible to improve the image drawing speed and the screen update speed on the programmable display without giving the user a sense of display discomfort such as a delay in reflecting the variable value.

上記の課題を解決するために、上記プログラマブル表示器の上記読出頻度決定部は、上記表示領域の範囲外に位置しているオブジェクトの上記読出頻度を、上記表示領域と上記オブジェクトとの位置関係に応じて段階的に低下させてもよい。 In order to solve the above problem, the read frequency determination unit of the programmable display sets the read frequency of an object located outside the range of the display area to the positional relationship between the display area and the object. It may be lowered stepwise accordingly.

上記の構成によれば、プログラマブル表示器は、読出頻度をどの程度低下させるか、より細やかに決定することができる。したがって、高い表示品質を確保することができる。 According to the above configuration, the programmable display can more finely determine how much the read frequency is reduced. Therefore, high display quality can be ensured.

上記の課題を解決するために、上記表示更新部は、上記表示領域の範囲外に位置しているオブジェクトを、上記表示領域の範囲内に位置しているオブジェクトより低頻度で再描画してもよい。 In order to solve the above problem, the display update unit may redraw an object located outside the range of the display area less frequently than an object located within the range of the display area. good.

上記の構成によれば、プログラマブル表示器は、表示していないオブジェクトの再描画の頻度を抑える。したがって、第1画像に含まれるオブジェクト全部を同じ頻度で再描画するよりも、描画に係る処理負荷を低減することができる。これにより、プログラマブル表示器における画像の描画速度および画面更新の速度をさらに向上させることができる。 According to the above configuration, the programmable display reduces the frequency of redrawing objects that are not displayed. Therefore, the processing load related to drawing can be reduced as compared with redrawing all the objects included in the first image at the same frequency. This makes it possible to further improve the image drawing speed and screen update speed of the programmable display.

上記の課題を解決するために、上記第1画像は、上記オブジェクトに重畳して表示されるウィンドウを含み、上記読出頻度決定部は、上記表示領域の範囲内に位置しているオブジェクトのうち、上記ウィンドウと重なって位置しているオブジェクトの読出頻度を、上記ウィンドウと重なっていないオブジェクトの読出頻度よりも低い頻度に決定してもよい。 In order to solve the above problem, the first image includes a window displayed superimposed on the object, and the read frequency determination unit is among the objects located within the range of the display area. The reading frequency of the object located overlapping the window may be determined to be lower than the reading frequency of the object not overlapping the window.

上記の構成によれば、ウィンドウの下に隠れてユーザからは見えないオブジェクトについては、変数値の読出頻度を抑えることができる。したがって、過剰な変数値の読み出しを防いでより処理負荷を低減することができる。これにより、プログラマブル表示器における画像の描画速度および画面更新の速度をさらに向上させることができる。 According to the above configuration, the frequency of reading the variable value can be suppressed for the object hidden under the window and invisible to the user. Therefore, it is possible to prevent reading of an excessive variable value and further reduce the processing load. This makes it possible to further improve the image drawing speed and screen update speed of the programmable display.

本発明の一態様によれば、プログラマブル表示器の処理負荷を低減することができる。 According to one aspect of the present invention, the processing load of the programmable display can be reduced.

本発明の実施形態1に係る表示制御システムに含まれる装置の要部構成を示すブロック図である。It is a block diagram which shows the main part structure of the apparatus included in the display control system which concerns on Embodiment 1 of this invention. 全体画像の一例を示す図である。It is a figure which shows an example of the whole image. オブジェクト設定のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of an object setting. 表示領域とオブジェクトの読出頻度との関係を示す図である。It is a figure which shows the relationship between the display area and the reading frequency of an object. 読出頻度データのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of read frequency data. 読出頻度の決定に係る処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which concerns on the determination of the reading frequency. 実施形態2に係るオブジェクト設定のデータ構造を示す図である。It is a figure which shows the data structure of the object setting which concerns on Embodiment 2. 図7に示すオブジェクトの因果関係を模式的に示した図である。It is a figure which shows typically the causal relationship of the object shown in FIG. 7. 実施形態2における表示領域とオブジェクトの読出頻度との関係を示す図である。It is a figure which shows the relationship between the display area and the reading frequency of an object in Embodiment 2. FIG. 実施形態2における読出頻度の決定に係る処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which concerns on the determination of the reading frequency in Embodiment 2.

〔実施形態1〕
本発明の実施形態1について、図1〜7を参照して説明する。まず始めに、本実施形態に係る表示制御システム300に含まれる各種装置の構成について、図1を参照して説明する。図1は、表示制御システム300に含まれる装置の要部構成を示すブロック図である。表示制御システム300は少なくとも、プログラマブルロジックコントローラ(PLC、コントローラ)3と、パーソナルコンピュータ(PC)1と、プログラマブル表示器2とを含む。また、PLC3は変数値(後述)の収集先である1つ以上の機器4と接続している。
[Embodiment 1]
Embodiment 1 of the present invention will be described with reference to FIGS. 1 to 7. First, the configurations of various devices included in the display control system 300 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing a main configuration of a device included in the display control system 300. The display control system 300 includes at least a programmable logic controller (PLC, controller) 3, a personal computer (PC) 1, and a programmable display 2. Further, the PLC 3 is connected to one or more devices 4 which are collection destinations of variable values (described later).

(PLC3および機器4の構成)
PLC3は、機器4から変数値を収集するコントローラである。本実施形態における「変数値」とは、PLC3が内部に保持している、または機器4から取得するデバイス値を示す。換言すると、本実施形態における変数値は、プログラマブル表示器2の内部変数値ではなく、PLC3が保持するものである。例えば、機器4が測定した温度または圧力等、外部機器で測定される各種パラメータの値、外部機器(具体的には、I/O機器およびセンサ等)のオンまたはオフを示す外部機器のビット値、PLC3の内部デバイス(レジスタ等)に保持されている各種パラメータおよびビットの値等を示す。
(Configuration of PLC 3 and device 4)
The PLC 3 is a controller that collects variable values from the device 4. The "variable value" in the present embodiment indicates a device value held internally by the PLC 3 or acquired from the device 4. In other words, the variable value in this embodiment is not the internal variable value of the programmable display 2, but is held by the PLC3. For example, the values of various parameters measured by the external device such as the temperature or pressure measured by the device 4, and the bit value of the external device indicating on or off of the external device (specifically, I / O device, sensor, etc.). , Various parameters and bit values held in the internal device (register, etc.) of PLC3 are shown.

PLC3は、機器4それぞれから所定の周期で変数値を収集している。PLC3は、プログラマブル表示器2からの要求に従って、変数値をプログラマブル表示器2に送信する。また、PLC3は、プログラマブル表示器2の制御指示にしたがって、PLC3に接続された機器4の動作を制御する。機器4は、PLC3に接続している外部機器である。機器4は例えば、工場の生産ラインの各工程に係る製造機器である。 The PLC 3 collects variable values from each of the devices 4 at a predetermined cycle. The PLC 3 transmits the variable value to the programmable display 2 according to the request from the programmable display 2. Further, the PLC 3 controls the operation of the device 4 connected to the PLC 3 according to the control instruction of the programmable display 2. The device 4 is an external device connected to the PLC 3. The device 4 is, for example, a manufacturing device related to each process of the production line of the factory.

(PC1の構成)
PC1は、プログラマブル表示器2が描画する画像を作成するための作画装置である。PC1は例えば、OS(Operating System)が実装されている汎用コンピュータで実現される。PC1は、入力装置11と、モニタ12と、データ作成部13と、記憶部14と、送信部15とを備えている。PC1はこの他に、CPU(Central Processing Unit)、メモリ、および通信インタフェース(I/F)等、汎用コンピュータに一般的に備えられている構成を含んでいてもよい。
(Configuration of PC1)
The PC 1 is a drawing device for creating an image drawn by the programmable display 2. PC1 is realized by, for example, a general-purpose computer in which an OS (Operating System) is implemented. The PC 1 includes an input device 11, a monitor 12, a data creation unit 13, a storage unit 14, and a transmission unit 15. In addition to this, the PC 1 may include a configuration generally provided in a general-purpose computer such as a CPU (Central Processing Unit), a memory, and a communication interface (I / F).

入力装置11は、ユーザの入力操作を受け付ける。入力装置11は例えば、PC1のキーボードおよびマウスである。モニタ12は、PC1のGUI(Graphical User Interface)を表示する。記憶部14は、PC1の画像作成に係る各種データを記憶する。記憶部14は、HDD(Hard Disk Drive)やSSD(Solid State Drive)等のようなPC1の内部記憶装置であってもよい。また、記憶部14は、SDカード、USB(Universal Serial Bus)フラッシュメモリ、およびDVD(Digital Versatile Disc)等のように、PC1が所定のI/Fまたはドライブを介してアクセス可能な外部記憶装置であってもよい。 The input device 11 accepts a user's input operation. The input device 11 is, for example, the keyboard and mouse of the PC1. The monitor 12 displays the GUI (Graphical User Interface) of the PC1. The storage unit 14 stores various data related to image creation of the PC 1. The storage unit 14 may be an internal storage device of a PC 1 such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). Further, the storage unit 14 is an external storage device such as an SD card, a USB (Universal Serial Bus) flash memory, a DVD (Digital Versatile Disc), etc., which the PC1 can access via a predetermined I / F or drive. There may be.

記憶部14は、少なくともデータファイル141を記憶している。データファイル141は、プログラマブル表示器2が1枚の画像を描画するために必要なデータをまとめたデータ群である。なお、本実施形態に係るプログラマブル表示器2は、表示面の解像度よりも大きい画像を内部的に一旦描画し、描画した画像の一部分の領域を、表示領域として表示面に表示する仕様である。以降、プログラマブル表示器2が描画する1枚の画像全体を「全体画像」と称する。 The storage unit 14 stores at least the data file 141. The data file 141 is a data group that summarizes the data necessary for the programmable display 2 to draw one image. The programmable display 2 according to the present embodiment is a specification in which an image larger than the resolution of the display surface is once drawn internally, and a part area of the drawn image is displayed on the display surface as a display area. Hereinafter, the entire image drawn by the programmable display 2 will be referred to as an "overall image".

データファイル141は、少なくともオブジェクト設定142と、画像データ143とを含む。オブジェクト設定142の構成については、後で詳述する。画像データ143は、全体画像の背景画像およびオブジェクトの画像のデータである。なお、データファイル141には、後述する全体画像のサイズを示す情報も含まれる。 The data file 141 includes at least object settings 142 and image data 143. The configuration of the object setting 142 will be described in detail later. The image data 143 is data of a background image of the entire image and an image of an object. The data file 141 also includes information indicating the size of the entire image, which will be described later.

データ作成部13は、入力装置11が受け付けた入力操作に応じて、プログラマブル表示器2が描画する画像を作成する。データ作成部13は、作成した画像を示すデータファイル141を生成して記憶部14に記憶させる。また、データ作成部13は、作成したデータファイル141を、送信部15を介してプログラマブル表示器2に送信する。なお、データ作成部13は、データファイル141をプログラマブル表示器2で実行可能なファイル形式に変換してから送信してもよい。 The data creation unit 13 creates an image drawn by the programmable display 2 in response to an input operation received by the input device 11. The data creation unit 13 generates a data file 141 showing the created image and stores it in the storage unit 14. Further, the data creation unit 13 transmits the created data file 141 to the programmable display 2 via the transmission unit 15. The data creation unit 13 may convert the data file 141 into a file format that can be executed by the programmable display 2 and then transmit the data file 141.

図2は、データ作成部13が作画する全体画像(第1画像)500の一例を示す図である。全体画像500は1つ以上のオブジェクトを含んでいる。本実施形態に係るオブジェクトは、変数値に応じて、色、大きさ、形、および表示内容等、該オブジェクトの状態のうち少なくとも1つが動的に変化する、動的オブジェクトである。 FIG. 2 is a diagram showing an example of an overall image (first image) 500 drawn by the data creation unit 13. The whole image 500 contains one or more objects. The object according to the present embodiment is a dynamic object in which at least one of the states of the object, such as color, size, shape, and display content, dynamically changes according to a variable value.

各オブジェクトには、該オブジェクトが参照している変数値の読出頻度が設定されている。読出頻度の設定(初期設定)は、プログラマブル表示器2またはPC1にて行われる。ここで、「読出頻度」とは、プログラマブル表示器2がPLC3から変数値を読み出す頻度を意味する。詳しくは後述するが、読出頻度は、プログラマブル表示器2によってリアルタイムに変更され得る。 For each object, the reading frequency of the variable value referred to by the object is set. The reading frequency is set (initial setting) on the programmable display 2 or PC1. Here, the "read frequency" means the frequency with which the programmable display 2 reads the variable value from the PLC 3. As will be described in detail later, the reading frequency can be changed in real time by the programmable display 2.

なお、読出頻度が初期設定された値から変化しない(読出頻度が一定である)オブジェクトが存在していてもよい。例えば、トレンドグラフを描画する機能、またはデータロギングの機能を有するオブジェクトの読出頻度は、一定としてもよい。このようなオブジェクトは変数値を一定間隔で読み出して、グラフ化する、またはログをとる必要があるからである。オブジェクトの読出頻度が可変であるか一定であるかを示す情報は、読出頻度の初期設定時に設定される。 It should be noted that there may be an object whose read frequency does not change from the initially set value (the read frequency is constant). For example, the reading frequency of an object having a function of drawing a trend graph or a function of data logging may be constant. This is because such objects need to read variable values at regular intervals and graph or log them. Information indicating whether the read frequency of the object is variable or constant is set at the time of initial setting of the read frequency.

以下の説明では、オブジェクトは全て、読出頻度が可変に設定されているオブジェクトであるとする。しかしながら、本実施形態にて示す内容は、読出頻度が一定のオブジェクトと可変のオブジェクトとが混在する全体画像500にも適用可能である。この場合、以下で説明する読出頻度の変更に係る処理は、読出頻度が可変なオブジェクトについてのみ行われる。 In the following description, it is assumed that all the objects are objects whose read frequency is set to be variable. However, the content shown in the present embodiment can be applied to the entire image 500 in which objects having a constant reading frequency and objects having a variable reading frequency are mixed. In this case, the process related to the change of the read frequency described below is performed only for the object whose read frequency is variable.

以下、データ作成部13による全体画像500の作画の各工程について説明する。なお、以下で説明する各工程は順不同で行われてもよいし、特定の工程が繰り返し行われてもよい。また、以下で説明する各工程は、ユーザが入力装置11を介して入力操作を行うことで実行される工程であってもよいし、PC1が自動的に実行する工程であってもよい。 Hereinafter, each step of drawing the entire image 500 by the data creation unit 13 will be described. The steps described below may be performed in no particular order, or specific steps may be repeated. Further, each step described below may be a step executed by the user performing an input operation via the input device 11, or may be a step automatically executed by the PC 1.

データ作成部13は、作画の一工程として、全体画像500のサイズを決定する。また、データ作成部13は、作画の一工程として、全体画像500に配置するオブジェクトを指定し、該オブジェクトの全体画像500における位置と、該オブジェクトの各種パラメータとを設定する。なお、データ作成部13は作画の一工程として、全体画像500の背景色または背景画像を設定してもよい。 The data creation unit 13 determines the size of the entire image 500 as one step of drawing. Further, the data creation unit 13 specifies an object to be arranged in the entire image 500 as one step of drawing, and sets the position of the object in the overall image 500 and various parameters of the object. The data creation unit 13 may set the background color or the background image of the entire image 500 as one step of drawing.

データ作成部13は、各工程での設定を示す情報をオブジェクト設定142としてまとめて、画像データ143とともにデータファイル141として記憶部14に記憶させる。 The data creation unit 13 collects information indicating the settings in each process as the object settings 142 and stores the information together with the image data 143 in the storage unit 14 as a data file 141.

図3は、オブジェクト設定142のデータ構造の一例を示す図である。オブジェクト設定142は、オブジェクトを一意に示す識別情報に対し、該オブジェクトの全体画像500における位置と、各種パラメータの設定に係る情報とを対応付けたデータである。図示の例では、オブジェクト設定142は1レコードで、ある1つのオブジェクトの全体画像500における位置と、該オブジェクトの各種パラメータの設定とを示している。 FIG. 3 is a diagram showing an example of the data structure of the object setting 142. The object setting 142 is data in which the position of the object in the entire image 500 and the information related to the setting of various parameters are associated with the identification information uniquely indicating the object. In the illustrated example, the object setting 142 is one record, and shows the position of one object in the whole image 500 and the setting of various parameters of the object.

「名称」列には、オブジェクトの識別情報としてオブジェクト名が格納される。「位置座標」列には、オブジェクトの全体画像500における位置座標(例えば、オブジェクトの画像の左上隅の1点におけるx座標およびy座標)が格納される。「タイプ」列には、オブジェクトのタイプを示す情報が格納される。 In the "Name" column, the object name is stored as the identification information of the object. The "position coordinates" column stores the position coordinates of the entire image 500 of the object (for example, the x-coordinate and the y-coordinate at one point in the upper left corner of the image of the object). The Type column stores information that indicates the type of object.

なお、本実施形態において「オブジェクトのタイプ」とは、オブジェクトの機能(種類)を示す情報であって、オブジェクトにおける変数値の反映方法を指定する情報である。例えば、オブジェクトのタイプが「ランプ」である場合、該オブジェクトは例えばオンまたはオフの状態を示す機能を持つランプである。そして、変数値は、該ランプのオンオフの状態に反映される。また例えば、オブジェクトのタイプが「メーター」である場合、オブジェクトはメーターの形状をしており、変数値は、該メーターの表示する数値に反映される。 In the present embodiment, the "object type" is information indicating the function (type) of the object, and is information for specifying the method of reflecting the variable value in the object. For example, when the type of an object is "lamp", the object is, for example, a lamp having a function of indicating an on or off state. Then, the variable value is reflected in the on / off state of the lamp. Further, for example, when the type of the object is "meter", the object has the shape of a meter, and the variable value is reflected in the numerical value displayed by the meter.

「塗込色」列には、オブジェクトの塗りつぶし色(塗込色)を示す情報が格納される。「枠線色」列には、オブジェクトの枠線の色(枠線色)を示す情報が格納される。スイッチおよびランプのように、オブジェクトのタイプがオンまたはオフの状態を示す機能を持つオブジェクトである場合、塗込色および枠線色は、図示のようにオン時とオフ時の2種類設定されていてもよい。「参照値」列には、オブジェクトが参照する変数を一意に示す情報が格納される。図示の例では、Dから始まる変数は、数値が格納される変数である。一方、Mから始まる変数は、ビット値が格納される変数である。なお、図示の例は一例であって、各オブジェクトが参照する変数の種類は特に限定されない。 In the "Fill color" column, information indicating the fill color (fill color) of the object is stored. Information indicating the border color (border color) of the object is stored in the "border color" column. When the object type is an object that has a function to indicate the on or off state, such as a switch and a lamp, the fill color and the border color are set to two types, on and off, as shown in the figure. You may. The "reference value" column stores information that uniquely indicates the variable referenced by the object. In the illustrated example, the variables starting with D are the variables that store the numbers. On the other hand, the variable starting with M is a variable in which the bit value is stored. Note that the illustrated example is an example, and the types of variables referenced by each object are not particularly limited.

なお、各オブジェクトが参照する変数は1種類とは限らない。例えば図中のObject3のように、塗込色および枠線色を変数値に応じて決定することとしてもよい。この場合、Object3の数値表示の塗込色および枠線色は、プログラマブル表示器2がPLC3から取得する、D005およびD006という変数の値に応じて決定される。 The variable referenced by each object is not limited to one type. For example, as in Object3 in the figure, the fill color and the border color may be determined according to the variable values. In this case, the fill color and the border color of the numerical display of Object3 are determined according to the values of the variables D005 and D006 acquired from the PLC3 by the programmable display 2.

送信部15は、データ作成部13の指示に従って、記憶部14に保存されているデータファイル141をプログラマブル表示器2に送信する。 The transmission unit 15 transmits the data file 141 stored in the storage unit 14 to the programmable display 2 according to the instruction of the data creation unit 13.

(プログラマブル表示器2の構成)
プログラマブル表示器2は、全体画像500を描画し、該全体画像500の一部分を表示領域として表示するHMI(Human Machine Interface)機器である。プログラマブル表示器2は、全体画像500を描画し、該全体画像500の一部分の領域を表示する表示機能と、表示画面に対するユーザの入力を受け付ける操作機能と、全体画像500に配置されたオブジェクトそれぞれが参照している変数値の読出頻度を動的に決定する読出頻度決定機能と、を有している。
(Configuration of programmable display 2)
The programmable display 2 is an HMI (Human Machine Interface) device that draws the entire image 500 and displays a part of the entire image 500 as a display area. The programmable display 2 has a display function of drawing the entire image 500 and displaying a part of the area of the entire image 500, an operation function of accepting user input to the display screen, and objects arranged in the entire image 500. It has a read frequency determination function that dynamically determines the read frequency of the referenced variable value.

プログラマブル表示器2はこれらの機能を実現するために、受信部21と、タッチパネル22と、表示パネル23と、インタフェース(I/F)26と、記憶部25と、制御部24と、を含む。 The programmable display 2 includes a receiving unit 21, a touch panel 22, a display panel 23, an interface (I / F) 26, a storage unit 25, and a control unit 24 in order to realize these functions.

受信部21は、PC1の送信部15と通信し、PC1からデータファイル141を受信する。受信部21はデータファイル141を制御部24に送る。タッチパネル22は、表示パネル23に重ねるように設けられており、表示パネル23上でのタッチ入力を受け付ける。表示パネル23は、例えば液晶ディスプレイのような平板型の表示装置である。I/F26は、後述する読出部242の指示に従って、PLC3と通信する。具体的には、I/F26はPLC3に変数値を要求し、該要求への返信としてPLC3から変数値を受信する。 The receiving unit 21 communicates with the transmitting unit 15 of the PC1 and receives the data file 141 from the PC1. The receiving unit 21 sends the data file 141 to the control unit 24. The touch panel 22 is provided so as to be overlapped with the display panel 23, and receives touch input on the display panel 23. The display panel 23 is a flat plate type display device such as a liquid crystal display. The I / F 26 communicates with the PLC 3 according to the instruction of the reading unit 242 described later. Specifically, the I / F 26 requests the variable value from the PLC3, and receives the variable value from the PLC3 as a reply to the request.

なお、本実施形態では、プログラマブル表示器2をタッチパネル22および表示パネル23を備えた装置としたが、プログラマブル表示器2はこのような装置形態には限らない。例えば、プログラマブル表示器2は、産業用コンピュータのような、タッチパネル22および表示パネル23を備えていない装置に、タッチパネル22および表示パネル23を含むディスプレイを接続することによって構成してもよい。 In the present embodiment, the programmable display 2 is a device provided with the touch panel 22 and the display panel 23, but the programmable display 2 is not limited to such a device form. For example, the programmable display 2 may be configured by connecting a display including the touch panel 22 and the display panel 23 to a device such as an industrial computer that does not have the touch panel 22 and the display panel 23.

記憶部25は、PC1から受信したデータファイル141と、制御部24において作成される読出頻度データ251と、PLC3から読み出された各種変数値252とを記憶する。読出頻度データ251のデータ構造については、後で詳述する。なお、記憶部25は複数の記憶装置で構成されていてもよい。この場合、例えばプログラマブル表示器2に頻繁に読み出される読出頻度データ251および変数値252をプログラマブル表示器2に内蔵された記憶装置に格納し、SDカード等の外部記憶装置にデータファイル141を格納していてもよい。 The storage unit 25 stores the data file 141 received from the PC 1, the read frequency data 251 created by the control unit 24, and various variable values 252 read from the PLC 3. The data structure of the read frequency data 251 will be described in detail later. The storage unit 25 may be composed of a plurality of storage devices. In this case, for example, the read frequency data 251 and the variable value 252 that are frequently read by the programmable display 2 are stored in the storage device built in the programmable display 2, and the data file 141 is stored in the external storage device such as an SD card. You may be.

制御部24は、プログラマブル表示器2を統括的に制御する。制御部24は、表示制御部(表示更新部、表示領域変更部)243と、読出頻度決定部241と、読出部242と、を含む。 The control unit 24 controls the programmable display 2 in an integrated manner. The control unit 24 includes a display control unit (display update unit, display area change unit) 243, a read frequency determination unit 241 and a read unit 242.

表示制御部243は、データファイル141と、読出部242が読み出した変数値とに応じて全体画像500を描画し、表示パネル23に全体画像500の一部分を表示させる。表示制御部243はまた、所定の表示更新の周期で、全体画像500および全体画像500に含まれるオブジェクトを再描画する。 The display control unit 243 draws the entire image 500 according to the data file 141 and the variable value read by the reading unit 242, and causes the display panel 23 to display a part of the entire image 500. The display control unit 243 also redraws the entire image 500 and the objects included in the entire image 500 at a predetermined display update cycle.

また、表示制御部243は、タッチパネル22がユーザの特定の入力操作(例えばタッチ操作、スワイプ操作、またはピンチ操作など)を受け付けた場合、該入力操作に応じて、表示パネル23に表示している画像を変更する。 Further, when the touch panel 22 receives a specific input operation (for example, touch operation, swipe operation, pinch operation, etc.) of the user, the display control unit 243 displays it on the display panel 23 in response to the input operation. Change the image.

より具体的には、上記特定の入力操作が全体画像500の切り替えを指示する操作の場合、表示制御部243は、記憶部25から次に表示すべき全体画像500を描画するためのデータファイル141を読み出し、読み出した新たなデータファイル141と読出部242が読み出す変数値とに応じて、新たな全体画像500を生成する。 More specifically, when the specific input operation is an operation instructing switching of the entire image 500, the display control unit 243 draws a data file 141 for drawing the entire image 500 to be displayed next from the storage unit 25. Is read, and a new overall image 500 is generated according to the new data file 141 read and the variable value read by the reading unit 242.

また、上記特定の入力操作が、表示パネル23に表示している画像の拡大または縮小を指示する操作の場合、表示制御部243は、これらの入力操作に従って、表示領域の大きさを変更する。また、上記特定の入力操作が、表示パネル23の表示画面のスクロールを指示する操作の場合、表示制御部243は、該入力操作に従って、全体画像500に対する表示領域の位置を変更することで、上記表示画面をスクロールさせる。 Further, when the specific input operation is an operation for instructing enlargement or reduction of the image displayed on the display panel 23, the display control unit 243 changes the size of the display area according to these input operations. Further, when the specific input operation is an operation for instructing scrolling of the display screen of the display panel 23, the display control unit 243 changes the position of the display area with respect to the entire image 500 according to the input operation. Scroll the display screen.

表示制御部243は全体画像500の切り替え、表示領域の位置の変更、および表示領域の大きさの変更の少なくともいずれかを行った場合、該切り替えおよび変更を読出頻度決定部241に通知する。表示制御部243はまた、制御部24がアイドル状態(全体画像500の描画、および表示領域の変更が無い状態)である場合、オブジェクトの再描画を定期的に行ってもよい。例えば、表示制御部243は、表示パネル23のリフレッシュのタイミング等に合わせて、オブジェクトの再描画を行ってもよい。 When the display control unit 243 switches the entire image 500, changes the position of the display area, or changes the size of the display area, the display control unit 243 notifies the read frequency determination unit 241 of the switching and the change. The display control unit 243 may also periodically redraw the object when the control unit 24 is in an idle state (a state in which the entire image 500 is drawn and the display area is not changed). For example, the display control unit 243 may redraw the object in accordance with the refresh timing of the display panel 23 or the like.

読出頻度決定部241は、データファイル141のオブジェクト設定142にて指定されるオブジェクトそれぞれについて、該オブジェクトが参照している変数値の読出頻度を決定する。読出頻度決定部241は、少なくとも、表示制御部243が表示パネルに全体画像500の一部分を表示させるタイミングまでに、該全体画像500に含まれるオブジェクトの読出頻度を決定する。 The read frequency determination unit 241 determines the read frequency of the variable value referenced by the object for each object specified in the object setting 142 of the data file 141. The read frequency determination unit 241 determines the read frequency of the objects included in the overall image 500 at least by the timing when the display control unit 243 causes the display panel to display a part of the entire image 500.

読出頻度決定部241は、各オブジェクトが、表示領域の範囲内に位置しているか否かに応じて読出頻度を決定する。読出頻度決定部241は、表示領域の範囲内に位置していないオブジェクトの読出頻度を、少なくとも一部が表示領域の範囲内に位置しているオブジェクトの読出頻度よりも低い頻度に決定する。以降、少なくとも一部分が表示領域の範囲内に位置しているオブジェクトを「表示オブジェクト」、表示領域の範囲内に位置していない(すなわち、表示領域の範囲外に位置している)オブジェクトを「非表示オブジェクト」と称する。 The read frequency determination unit 241 determines the read frequency according to whether or not each object is located within the range of the display area. The read frequency determination unit 241 determines the read frequency of objects that are not located within the range of the display area to be lower than the read frequency of objects that are at least partially located within the range of the display area. Hereinafter, an object whose at least a part is located within the range of the display area is "display object", and an object which is not located within the range of the display area (that is, is located outside the range of the display area) is "non-display object". It is called "display object".

なお、読出頻度は少なくとも「高頻度」および「低頻度」の2段階に分かれていればよい。また、読出頻度の具体的な値は適宜定められればよい。例えば、読出頻度が低頻度の場合、5秒に1回の割合、または高頻度の場合の4分の1の割合で変数値が読み出されることとしてもよい。また、具体的な読出頻度の値または割合は、ユーザが適宜設定可能なものであってもよい。 The reading frequency may be divided into at least two stages, "high frequency" and "low frequency". Further, a specific value of the reading frequency may be appropriately determined. For example, when the reading frequency is low, the variable value may be read once every 5 seconds, or at a rate of 1/4 when the reading frequency is high. Further, the specific value or ratio of the reading frequency may be appropriately set by the user.

図4は、表示領域600とオブジェクトの読出頻度との関係を示す図である。全体画像500は、上述のようにPC1にて作画されデータファイル141に記録されているため、図4に示す全体画像500は図2に示す全体画像500と見た目は同じものである。図4における点線は、表示パネル23の表示領域600を示している。また、図4において斜線で塗りつぶされたオブジェクトは、読出頻度が高頻度であるオブジェクトである。 FIG. 4 is a diagram showing the relationship between the display area 600 and the reading frequency of the object. Since the whole image 500 is drawn by the PC 1 and recorded in the data file 141 as described above, the whole image 500 shown in FIG. 4 has the same appearance as the whole image 500 shown in FIG. The dotted line in FIG. 4 indicates the display area 600 of the display panel 23. Further, the objects filled with diagonal lines in FIG. 4 are objects with a high reading frequency.

読出頻度決定部241は、表示制御部243から表示領域600の位置および大きさを取得する。読出頻度決定部241はデータファイル141のオブジェクト設定142を参照して、各オブジェクトが、表示領域600の範囲内に位置しているか否かを判定する。読出頻度決定部241は、オブジェクトの画像の少なくとも一部分が表示領域600に含まれている場合に、該オブジェクトが表示領域600の範囲内に位置していると判定する。 The read frequency determination unit 241 acquires the position and size of the display area 600 from the display control unit 243. The read frequency determination unit 241 refers to the object setting 142 of the data file 141, and determines whether or not each object is located within the range of the display area 600. When at least a part of the image of the object is included in the display area 600, the read frequency determination unit 241 determines that the object is located within the range of the display area 600.

読出頻度決定部241は上述の判定を行うことで、全体画像500に含まれるオブジェクトを表示オブジェクトと非表示オブジェクトとに分類し、各オブジェクトの読出頻度を決定する。具体的には、図4に示すように、表示オブジェクトの読出頻度は高頻度に、非表示オブジェクトの読出頻度は低頻度に決定される。 By performing the above determination, the read frequency determination unit 241 classifies the objects included in the entire image 500 into display objects and non-display objects, and determines the read frequency of each object. Specifically, as shown in FIG. 4, the reading frequency of the display object is determined to be high, and the reading frequency of the non-display object is determined to be low.

読出頻度決定部241は決定したオブジェクト毎の読出頻度を、読出頻度データ251として記憶部25に記憶させる。また、読出頻度決定部241は、表示制御部243から表示領域の位置または大きさの変更を通知された場合は、上記判定および読出頻度の再決定を行い、読出頻度データ251を更新する。 The read frequency determination unit 241 stores the determined read frequency for each object in the storage unit 25 as read frequency data 251. Further, when the display control unit 243 notifies the change in the position or size of the display area, the read frequency determination unit 241 performs the above determination and redetermines the read frequency, and updates the read frequency data 251.

図5は、読出頻度データ251のデータ構造の一例を示す図である。読出頻度データ251は、オブジェクトを一意に示す識別情報に、読出頻度を示す情報が対応付けられたデータである。図示の例では、「名称」列に上記識別情報としてオブジェクト名が格納されている。また図示の例では、「読出頻度」列に、読出頻度の高低を示す情報が格納される。 FIG. 5 is a diagram showing an example of the data structure of the read frequency data 251. The read frequency data 251 is data in which information indicating the read frequency is associated with the identification information uniquely indicating the object. In the illustrated example, the object name is stored as the identification information in the "name" column. Further, in the illustrated example, information indicating the high or low reading frequency is stored in the "reading frequency" column.

読出頻度データ251は、データファイル141ごとに作成され、読出頻度決定部241が読出頻度を決定する毎に更新される。 The read frequency data 251 is created for each data file 141, and is updated every time the read frequency determination unit 241 determines the read frequency.

なお、読出頻度決定部241は、全体画像500自体が変更される(すなわち、表示パネル23に別の画像の一部を表示させる)場合は、読出頻度データ251を破棄してもよいし、新たに別データとして、次に表示させる全体画像500の読出頻度データ251を作成して記憶部25に記憶させてもよい。 When the entire image 500 itself is changed (that is, a part of another image is displayed on the display panel 23), the read frequency determination unit 241 may discard the read frequency data 251 or newly. As separate data, the read frequency data 251 of the entire image 500 to be displayed next may be created and stored in the storage unit 25.

読出部242は、インタフェース(I/F)26を介しPLC3と通信を行うことで、PLC3から変数値を読み出す。読出部242は、全体画像500に含まれる各オブジェクトが参照する変数値を、読出頻度決定部241が決定した読出頻度でPLC3から読み出す。読出部242は読み出した値を記憶部25に記憶させる。 The reading unit 242 reads the variable value from the PLC 3 by communicating with the PLC 3 via the interface (I / F) 26. The reading unit 242 reads the variable value referred to by each object included in the entire image 500 from the PLC 3 at the reading frequency determined by the reading frequency determining unit 241. The reading unit 242 stores the read value in the storage unit 25.

具体的には、読出部242は、記憶部25に記憶された読出頻度データ251を参照し、オブジェクト毎の読出頻度を特定する。次に、読出部242は、データファイル141のオブジェクト設定142を読み出し、該オブジェクト設定142にリストアップされているオブジェクトそれぞれの参照する変数値を特定する。読出部242は特定した参照値を、オブジェクト毎の読出頻度でPLC3から読み出す。 Specifically, the reading unit 242 refers to the reading frequency data 251 stored in the storage unit 25, and specifies the reading frequency for each object. Next, the reading unit 242 reads the object setting 142 of the data file 141, and specifies the variable value referred to by each of the objects listed in the object setting 142. The reading unit 242 reads the specified reference value from the PLC 3 at the reading frequency for each object.

例えば図4のように、読出頻度が「高頻度」と「低頻度」の2段階に分けられている場合、読出部242は、読出頻度が低頻度であるオブジェクトが参照している変数値を取得する間隔を、読出頻度が高頻度であるオブジェクトの変数値を取得する間隔よりも長くする。 For example, as shown in FIG. 4, when the reading frequency is divided into two stages of "high frequency" and "low frequency", the reading unit 242 sets the variable value referred to by the object having the low reading frequency. Make the acquisition interval longer than the interval for acquiring the variable value of the object whose read frequency is high.

なお、PLC3において、例えば複数の変数値が連続するデバイス値である場合、PLC3からプログラマブル表示器2にまとめて書込みまたは読み出しする仕様とする場合がある。この場合、読出部242はこれらの連続するデバイス値について、いずれかのデバイス値を読み出すタイミングで一括して読み出してもよいし、各デバイス値を個別の読み出しタイミングで読み出してもよい。 In addition, in PLC3, for example, when a plurality of variable values are continuous device values, it may be specified that the PLC3 writes or reads out from the PLC3 collectively to the programmable display 2. In this case, the reading unit 242 may collectively read these consecutive device values at the timing of reading any of the device values, or may read each device value at an individual reading timing.

(処理の流れ)
最後に、読出頻度決定部241の処理の流れについて、図6を用いて説明する。図6は、読出頻度の決定に係る処理の流れを示すフローチャートである。
(Processing flow)
Finally, the processing flow of the read frequency determination unit 241 will be described with reference to FIG. FIG. 6 is a flowchart showing the flow of processing related to the determination of the reading frequency.

表示制御部243は、タッチパネル22が受け付けた入力操作等に応じて、全体画像500の描画および再描画(画面の切り替え)、オブジェクトの再描画(画面表示の更新、または各種オブジェクトの表示もしくは消去)、ならびに、表示領域の大きさまたは位置の変更(すなわち、画面のスクロール、画面の拡大または縮小)を行う。 The display control unit 243 draws and redraws the entire image 500 (switches screens) and redraws objects (updates the screen display, or displays or deletes various objects) in response to an input operation received by the touch panel 22. , And change the size or position of the display area (ie, scroll the screen, enlarge or reduce the screen).

読出頻度決定部241は、上述の全体画像500の描画、オブジェクトの再描画、ならびに表示領域の大きさまたは位置の変更のいずれかを通知されると、Local Objectリストを生成する(S100)。 The read frequency determination unit 241 generates a Local Object list when notified of any of the above-mentioned drawing of the entire image 500, redrawing of an object, and change of the size or position of the display area (S100).

Local Objectリストとは、全体画像500に含まれるオブジェクトのリストであって、オブジェクトの識別情報に、該オブジェクトをピックアップしたか否かを示すフラグ情報が対応付けられたものである。該リストは一時的に記憶部25に記憶されてもよいし、制御部24で保持していてもよい。 The Local Object list is a list of objects included in the entire image 500, and the identification information of the objects is associated with flag information indicating whether or not the objects have been picked up. The list may be temporarily stored in the storage unit 25, or may be stored in the control unit 24.

読出頻度決定部241は次に、生成したLocal Objectリストにオブジェクトが含まれているか否か(Local Objectリストが空か否か)を確認する(S102)。Local Objectリストが空の場合(S102でYES)、全体画像500にはオブジェクトが含まれていないことになるため、読出頻度決定部241は読出頻度の決定を行わず処理を終了する。 Next, the read frequency determination unit 241 confirms whether or not an object is included in the generated Local Object list (whether or not the Local Object list is empty) (S102). If the Local Object list is empty (YES in S102), the entire image 500 does not include any objects, so the read frequency determination unit 241 does not determine the read frequency and ends the process.

一方、Local Objectリストが空でない場合(S102でNO)、読出頻度決定部241は該リストから任意のオブジェクトをピックアップし(S104)、該オブジェクトが表示領域600内に配置されているか否かを判定する(S106)。該オブジェクトが表示領域600内に配置されている場合(S106でYES)、読出頻度決定部241は該オブジェクトを表示オブジェクトと判定し(S108)、読出頻度を「高頻度」と決定する(S110、読出頻度決定ステップ)。一方、該オブジェクトが表示領域600内に配置されていない場合(S106でNO)、読出頻度決定部241は該オブジェクトを非表示オブジェクトと判定し(S112)、読出頻度を「低頻度」と決定する(S114、読出頻度決定ステップ)。 On the other hand, when the Local Object list is not empty (NO in S102), the read frequency determination unit 241 picks up an arbitrary object from the list (S104) and determines whether or not the object is arranged in the display area 600. (S106). When the object is arranged in the display area 600 (YES in S106), the read frequency determination unit 241 determines the object as a display object (S108), and determines the read frequency as "high frequency" (S110, Read frequency determination step). On the other hand, when the object is not arranged in the display area 600 (NO in S106), the read frequency determination unit 241 determines the object as a non-display object (S112), and determines the read frequency as "low frequency". (S114, read frequency determination step).

読出頻度決定部241は、S106の判定を行ったオブジェクトについて、Local Objectリストのフラグを、ピックアップ済を示すように変更する。以降、読出頻度決定部241はLocal Objectリスト中の全てのオブジェクトをピックアップして、S106〜S114の処理を完了するまで処理を繰り返す(S116でNO)。Local Objectリスト中の全てのオブジェクトについてピックアップおよびS106〜S114の処理が終了すると(S116でYES)、読出頻度決定部241は読出頻度データ251にオブジェクト毎の読出頻度を記録して、読出頻度の決定に係る処理を終了する。そして、読出部242は読出頻度データ251を参照して、該データに記載の読出頻度で、各オブジェクトの変数値をPLC3から読出す(読出ステップ)。 The read frequency determination unit 241 changes the flag of the Local Object list to indicate that the object has been picked up for the object for which the determination in S106 has been made. After that, the read frequency determination unit 241 picks up all the objects in the Local Object list and repeats the processing until the processing of S106 to S114 is completed (NO in S116). When the pickup and the processing of S106 to S114 are completed for all the objects in the Local Object list (YES in S116), the read frequency determination unit 241 records the read frequency for each object in the read frequency data 251 and determines the read frequency. Ends the processing related to. Then, the reading unit 242 refers to the reading frequency data 251 and reads the variable value of each object from the PLC 3 at the reading frequency described in the data (reading step).

以上の処理によれば、プログラマブル表示器2は、非表示オブジェクトの変数値の読み出しに係る処理負荷を低減することができる。従来のプログラマブル表示器では、各オブジェクトに係る変数値の読出頻度が一様であるため、全体画像が大きくなるほど、非表示オブジェクトの数が増え、不要な変数値の読み出しにより処理負荷が増大していた。一方、本実施形態に係るプログラマブル表示器2によれば、全体画像が多くの非表示オブジェクトを含む場合の処理負荷を低減することができる。したがって、オブジェクトの数が増加した場合でもプログラマブル表示器における画像の描画速度および画面更新の速度を確保することができる。 According to the above processing, the programmable display 2 can reduce the processing load related to reading the variable value of the non-display object. In a conventional programmable display, the frequency of reading variable values related to each object is uniform. Therefore, as the overall image becomes larger, the number of hidden objects increases, and the processing load increases due to reading unnecessary variable values. rice field. On the other hand, according to the programmable display 2 according to the present embodiment, it is possible to reduce the processing load when the entire image includes many non-display objects. Therefore, even when the number of objects increases, it is possible to secure the image drawing speed and the screen update speed on the programmable display.

これは、プログラマブル表示器2の処理負荷を低減することで、制御部24のリソースをより有効に使用することができるからである。例えば、表示制御部243の表示制御に係る処理の遅延や処理落ちを防ぐことで、表示パネル23の画面切り替え速度を向上させ、および表示品質を向上させることができる。
〔実施形態2〕
本発明の実施形態2について、図7〜10を用いて説明する。なお、説明の便宜上、実施形態1で説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
This is because the resources of the control unit 24 can be used more effectively by reducing the processing load of the programmable display 2. For example, by preventing delays in processing related to display control of the display control unit 243 and processing omissions, it is possible to improve the screen switching speed of the display panel 23 and improve the display quality.
[Embodiment 2]
Embodiment 2 of the present invention will be described with reference to FIGS. 7 to 10. For convenience of explanation, the same reference numerals will be added to the members having the same functions as the members described in the first embodiment, and the description thereof will be omitted.

図7は、本実施形態に係るPC1が作成するオブジェクト設定142のデータ構造を示す図である。なお、図7において、図3に示したオブジェクト設定142と同様の内容については説明を省略する。 FIG. 7 is a diagram showing a data structure of the object setting 142 created by the PC 1 according to the present embodiment. In FIG. 7, the same contents as the object setting 142 shown in FIG. 3 will not be described.

本実施形態に係るデータファイル142は、実施形態1にて説明したデータファイル142と異なる方法で変数値を指定したレコードを含んでいる。具体的には、本実施形態に係るデータファイル142は、あるオブジェクト(第1オブジェクト)の1つ以上のパラメータについて、いずれかの変数値を直接指定するのではなく、他のオブジェクト(第2オブジェクト)の同パラメータに割り当てられた変数値を参照するよう指定したレコードを含む。 The data file 142 according to the present embodiment includes a record in which a variable value is specified by a method different from that of the data file 142 described in the first embodiment. Specifically, the data file 142 according to the present embodiment does not directly specify one or more variable values for one or more parameters of a certain object (first object), but another object (second object). ) Includes records specified to refer to the variable value assigned to the same parameter.

例えば、図7に示すデータファイル142では、Object5のオブジェクトの塗込色および枠線色がそれぞれ、Object6の塗込色および枠線色を参照して決定するように指定されている。図7のObject5とObject6との関係のように、第1オブジェクトのいずれかのパラメータの参照先が第2オブジェクトの同パラメータになっている関係を、以降は「第1オブジェクトと第2オブジェクトとが因果関係にある」と称する。 For example, in the data file 142 shown in FIG. 7, it is specified that the fill color and the border color of the object of Object5 are determined by referring to the fill color and the border color of Object6, respectively. Like the relationship between Object 5 and Object 6 in FIG. 7, the relationship in which the reference destination of any parameter of the first object is the same parameter of the second object is changed to "the first object and the second object are There is a causal relationship. "

図8は、図7に示すオブジェクト(Object5およびObject6)の因果関係を模式的に示した図である。Object6の塗込色および枠線色にはそれぞれ、D100およびD200というデバイス値が割り当てられている。したがって、読出部242は、PLC3のメモリからデバイス値D100およびD200の値(図8の例ではD100=1、D200=2)を既定の読出頻度で読出し、表示制御部243がオブジェクトの再描画の際に、該デバイス値をObject6に反映させる。またこのとき、表示制御部243はObject5の塗込色および枠線色についても、D100=1、およびD200=2の値を反映させる。 FIG. 8 is a diagram schematically showing the causal relationship of the objects (Object 5 and Object 6) shown in FIG. 7. Device values D100 and D200 are assigned to the fill color and border color of Object6, respectively. Therefore, the reading unit 242 reads the device values D100 and D200 values (D100 = 1, D200 = 2 in the example of FIG. 8) from the memory of the PLC3 at a predetermined reading frequency, and the display control unit 243 redraws the object. At that time, the device value is reflected in Object6. At this time, the display control unit 243 also reflects the values of D100 = 1 and D200 = 2 for the fill color and the border color of Object5.

図9は、本実施形態における、表示領域600とオブジェクトの読出頻度との関係を示す図である。なお、図9において図4と同様の箇所については説明を省略する。 FIG. 9 is a diagram showing the relationship between the display area 600 and the reading frequency of the object in the present embodiment. In FIG. 9, the same parts as those in FIG. 4 will not be described.

本実施形態に係る読出頻度決定部241は、第1オブジェクトが表示オブジェクトである場合、第2オブジェクトが表示オブジェクトであるか非表示オブジェクトであるかに関わらず、第2オブジェクトが表示オブジェクトであるとみなして読出頻度を決定する。これにより、因果関係にある両オブジェクトの変数値を適切な読出頻度で読み出すことができる。図9に示すオブジェクトA1はA2と、B1はB2と、C1はC2と因果関係にある。この場合、図示のように、A2、B2、およびC2は非表示オブジェクトであるか否かに関わらず、読出頻度が高頻度に決定される。 When the first object is a display object, the read frequency determination unit 241 according to the present embodiment determines that the second object is a display object regardless of whether the second object is a display object or a non-display object. Determining the read frequency. As a result, the variable values of both objects having a causal relationship can be read out at an appropriate read frequency. The object A1 shown in FIG. 9 has a causal relationship with A2, B1 has a causal relationship with B2, and C1 has a causal relationship with C2. In this case, as shown in the figure, the reading frequency of A2, B2, and C2 is determined to be high regardless of whether or not they are hidden objects.

(処理の流れ)
図10は、本実施形態に係る読出頻度決定部241の読出頻度の決定に係る処理の流れを示すフローチャートである。本実施形態に係る読出頻度決定部241は、実施形態1において説明したLocal Objectリストに、さらに該オブジェクトが表示オブジェクトであるか否かを示す情報と、該オブジェクトの因果関係を確認したか(Visited)否か(Unvisited)を示すフラグを加えたLocal Objectリストを生成する(S300)。
(Processing flow)
FIG. 10 is a flowchart showing a flow of processing related to determination of the read frequency of the read frequency determination unit 241 according to the present embodiment. Did the read frequency determination unit 241 according to the present embodiment confirm in the Local Object list described in the first embodiment the information indicating whether or not the object is a display object and the causal relationship of the object (Visited)? ) Generate a Local Object list with a flag indicating whether or not (Unvisited) (S300).

読出頻度決定部241は次に、生成したLocal Objectリストが空か否かを確認する(S302)。Local Objectリストが空の場合(S302でYES)、全体画像500にはオブジェクトが含まれていないことになるため、読出頻度決定部241は読出頻度の決定を行わず処理を終了する。 Next, the read frequency determination unit 241 confirms whether or not the generated Local Object list is empty (S302). If the Local Object list is empty (YES in S302), the entire image 500 does not include any objects, so the read frequency determination unit 241 does not determine the read frequency and ends the process.

一方、Local Objectリストが空でない場合(S302でNO)、読出頻度決定部241は該リストの全オブジェクトのフラグをUnvisitedとし、各オブジェクトが表示オブジェクトであるか非表示オブジェクトであるかを判定する(S304)。S304の処理は、実施形態1の図6のS104、S106、S108、S112、およびS116の処理の流れと同様である。なお、実施形態1と異なり、S304の判定処理の時点では、読出頻度決定部241は読出頻度を決定しない。読出頻度決定部241は、S304の判定結果をLocal Objectリストに記録する。 On the other hand, when the Local Object list is not empty (NO in S302), the read frequency determination unit 241 sets the flags of all the objects in the list to Unvisited and determines whether each object is a display object or a non-display object (NO). S304). The processing of S304 is the same as the processing flow of S104, S106, S108, S112, and S116 of FIG. 6 of the first embodiment. In addition, unlike the first embodiment, at the time of the determination process of S304, the read frequency determination unit 241 does not determine the read frequency. The read frequency determination unit 241 records the determination result of S304 in the Local Object list.

読出頻度決定部241は次に、Local Objectリストに含まれる表示オブジェクトのうち、フラグがUnvisitedなものがあるか否か確認する(S306)。Unvisitedな表示オブジェクトがある場合(S306でYES)、読出頻度決定部241は任意のUnvisitedな表示オブジェクトを第1オブジェクトとしてピックアップし(S308)、該第1オブジェクトのオブジェクト設定142を参照することで、第1オブジェクトと因果関係にある第2オブジェクトがあるか否かを特定する。第2オブジェクトがある場合は、さらに第2オブジェクトについて、因果関係にあるオブジェクトを辿る(S310)。読出頻度決定部241はこのようにして因果関係を確認したオブジェクト全てのフラグをVisitedにし(S312)、フラグをVisited状態にしたオブジェクトの読出頻度を「高頻度」に決定する(S314、読出頻度決定ステップ)。読出頻度決定部241は、Local Objectリストに含まれる表示オブジェクトのうち、フラグがUnvisitedなものがなくなるまで(S306でNO)、S306〜S314までの処理を繰り返す。 Next, the read frequency determination unit 241 confirms whether or not any of the display objects included in the Local Object list has an unvisited flag (S306). When there is an unvisited display object (YES in S306), the read frequency determination unit 241 picks up an arbitrary unvisited display object as the first object (S308), and refers to the object setting 142 of the first object. Identify whether there is a second object that has a causal relationship with the first object. If there is a second object, the objects having a causal relationship are further traced for the second object (S310). The read frequency determination unit 241 sets the flags of all the objects whose causal relationship has been confirmed in this way to Visited (S312), and determines the read frequency of the objects whose flags are set to the Visited state to "high frequency" (S314, read frequency determination). Step). The read frequency determination unit 241 repeats the processes from S306 to S314 until there are no display objects included in the Local Object list whose flags are unvisited (NO in S306).

一方、Local Objectリストに含まれる表示オブジェクトのうち、フラグがUnvisitedなものがない場合(S306でNO)、読出頻度決定部241はさらに、Local Objectリストに含まれる非表示オブジェクトのうち、フラグがUnvisitedなものがあるか否か確認する(S316)。フラグがUnvisitedな非表示オブジェクトがない場合(S316でNO)、読出頻度決定部241は処理を終了する。一方、フラグがUnvisitedな非表示オブジェクトがある場合、(S316でYES)、読出頻度決定部241は任意のUnvisitedな非表示オブジェクトを第1オブジェクトとしてピックアップする(S318)。さらに、読出頻度決定部241は、ピックアップしたオブジェクト全てのフラグをVisitedにするとともに(S320)、フラグをVisited状態にしたオブジェクトの読出頻度を「低頻度」に決定する(S322、読出頻度決定ステップ)。読出頻度決定部241は、Local Objectリストに含まれる非表示オブジェクトのうち、フラグがUnvisitedなものがなくなるまで、S316〜S324までの処理を繰り返す。非表示オブジェクトでフラグがUnvisitedなオブジェクトがなくなった場合(S316でNO)、読出頻度決定部241は全てのオブジェクトについて読出頻度の決定が終了したと判断し、読出頻度の決定に係る処理を終了する。 On the other hand, when there is no display object included in the Local Object list whose flag is Unvisited (NO in S306), the read frequency determination unit 241 further indicates that the flag is Unvisited among the hidden objects included in the Local Object list. Check if there is any object (S316). When there is no hidden object whose flag is Unvisited (NO in S316), the read frequency determination unit 241 ends the process. On the other hand, when there is a hidden object whose flag is Unvisited (YES in S316), the read frequency determination unit 241 picks up an arbitrary unvisited hidden object as the first object (S318). Further, the read frequency determination unit 241 sets the flags of all the picked-up objects to Visited (S320), and determines the read frequency of the objects whose flags are set to the Visited state to "low frequency" (S322, read frequency determination step). .. The read frequency determination unit 241 repeats the processes S316 to S324 until there are no hidden objects included in the Local Object list whose flag is Unvisited. When there are no hidden objects whose flags are unvisited (NO in S316), the read frequency determination unit 241 determines that the determination of the read frequency has been completed for all the objects, and ends the process related to the determination of the read frequency. ..

以上の処理によれば、プログラマブル表示器2は、非表示オブジェクトであっても、表示オブジェクトと因果関係にあるオブジェクトについては、高い読出頻度を確保する。これにより、表示オブジェクトに対する変数値を高い反映頻度に確保することができる。したがって、ユーザに表示オブジェクトの変数値の反映遅れ等の違和感を与えることなく、プログラマブル表示器における画像の描画速度および画面更新の速度を向上させることができる。
〔実施形態3〕
なお、読出頻度決定部241は、非表示オブジェクトの読出頻度を、表示領域600と非表示オブジェクトとの位置関係に応じて、段階的に低下させてもよい。例えば、表示制御部(表示頻度算出部)243は、表示領域600の描画時と、再描画時に各オブジェクトの表示頻度を示す値(表示頻度点数)を算出する。このとき、表示制御部243は、表示オブジェクトについては点数を増加させ、非表示オブジェクトの点数を減少させる。もしくは、表示制御部243は、表示オブジェクトに、非表示オブジェクトよりも高い点数を付与する。
According to the above processing, the programmable display 2 ensures a high reading frequency for objects that have a causal relationship with the display object, even if they are non-display objects. As a result, the variable value for the display object can be secured at a high reflection frequency. Therefore, it is possible to improve the image drawing speed and the screen update speed on the programmable display without giving the user a sense of discomfort such as a delay in reflecting the variable value of the display object.
[Embodiment 3]
The read frequency determination unit 241 may gradually reduce the read frequency of the non-display object according to the positional relationship between the display area 600 and the non-display object. For example, the display control unit (display frequency calculation unit) 243 calculates a value (display frequency score) indicating the display frequency of each object at the time of drawing the display area 600 and at the time of redrawing. At this time, the display control unit 243 increases the score of the display object and decreases the score of the non-display object. Alternatively, the display control unit 243 gives the display object a higher score than the non-display object.

より具体的には、表示制御部243は、全体画像500の最初の描画時(画面切り替え時)の表示オブジェクトには表示頻度点数として4点、非表示オブジェクトには0点を付与する。また表示制御部243は、表示領域の位置または大きさを変更させた(表示パネル23の画面をスクロール、拡大、または縮小させた)ときに表示オブジェクトになったオブジェクトの表示頻度点数を2点加点する。また表示制御部243は、制御部24のアイドル時間中、一定時間ごとに、表示オブジェクトの表示頻度点数を1点加算し、非表示オブジェクトの表示頻度点数を1点減算する。 More specifically, the display control unit 243 assigns 4 points as a display frequency score to the display object at the time of the first drawing (at the time of screen switching) of the entire image 500, and 0 points to the non-display object. In addition, the display control unit 243 adds 2 points to the display frequency points of the object that became the display object when the position or size of the display area is changed (the screen of the display panel 23 is scrolled, enlarged, or reduced). do. Further, the display control unit 243 adds 1 point for the display frequency score of the display object and subtracts 1 point for the display frequency score of the non-display object at regular intervals during the idle time of the control unit 24.

以上の処理によれば、プログラマブル表示器2は、読出頻度をどの程度低下させるか、より細やかに決定することができる。したがって、高い表示品質を確保することができる。また、以上の処理によれば、高頻度で表示されるオブジェクトについては読込頻度を高頻度に保つ一方、低頻度でしか表示されないオブジェクトについては、読込頻度をより低下させることができる。したがって、高い表示品質を確保することができる。
〔実施形態4〕
なお、各実施形態に係る表示制御部243は、非表示オブジェクトを表示オブジェクトより低頻度で再描画してもよい。例えば、表示制御部243は、表示オブジェクトを1秒間に60回の割合で再描画する場合、非表示オブジェクトを1秒間に30回の割合で再描画することとしてもよい。もしくは、表示制御部243は、非表示オブジェクトについては再描画しないこととしてもよい。
According to the above processing, the programmable display 2 can more finely determine how much the reading frequency is reduced. Therefore, high display quality can be ensured. Further, according to the above processing, it is possible to keep the read frequency high for the objects displayed at high frequency, and to further reduce the read frequency for the objects displayed only at low frequency. Therefore, high display quality can be ensured.
[Embodiment 4]
The display control unit 243 according to each embodiment may redraw the non-display object less frequently than the display object. For example, when the display control unit 243 redraws the display object at a rate of 60 times per second, the display control unit 243 may redraw the non-display object at a rate of 30 times per second. Alternatively, the display control unit 243 may not redraw the hidden object.

これにより、プログラマブル表示器2は、非表示オブジェクトの再描画の頻度を抑えることができる。したがって、全体画像500に含まれるオブジェクトを全部同じ頻度で再描画するよりも、オブジェクトの再描画に係る処理負荷を低減することができる。これにより、プログラマブル表示器における画像の描画速度および画面更新の速度をさらに向上させることができる。
〔実施形態5〕
各実施形態に係る全体画像500は、あるオブジェクトの上(前面)に、ウィンドウを示す画像(以下、単にウィンドウと称する)が重畳して配置されたものであってもよい。ここで、「ウィンドウ」は、各実施形態にて説明した動的オブジェクトであってもよいし、単なる画像オブジェクトであってもよい。
As a result, the programmable display 2 can suppress the frequency of redrawing the hidden object. Therefore, the processing load related to the redrawing of the objects can be reduced as compared with the case where all the objects included in the entire image 500 are redrawn at the same frequency. This makes it possible to further improve the image drawing speed and screen update speed of the programmable display.
[Embodiment 5]
The overall image 500 according to each embodiment may be an object in which an image showing a window (hereinafter, simply referred to as a window) is superimposed and arranged on an object (front surface). Here, the "window" may be a dynamic object described in each embodiment, or may be a simple image object.

このようにオブジェクトとウィンドウが重畳して配置されている場合、読出頻度決定部241は、表示オブジェクトのうち、オブジェクト全体がウィンドウと重なっている(すなわち、オブジェクト全体がウィンドウの背面に隠れている)オブジェクトの読出頻度を、ウィンドウと重なっていない部分がある(すなわち、オブジェクトの少なくとも一部が最前面に現れている)オブジェクトの読出頻度よりも低い頻度に決定してもよい。 When the object and the window are arranged so as to overlap each other, the read frequency determination unit 241 indicates that the entire display object overlaps the window (that is, the entire object is hidden behind the window). The read frequency of an object may be determined to be lower than the read frequency of an object that does not overlap the window (that is, at least a part of the object appears in the foreground).

また、全体画像500は、ウィンドウ内にさらにオブジェクトが配置されている画像であってもよい。換言すると、全体画像500において、ウィンドウの画像領域内であって該ウィンドウの画像より前面に、オブジェクトの画像が重畳して配置されていてもよい。また、あるウィンドウの少なくとも一部分に別のウィンドウが重畳して配置されていてもよい。 Further, the whole image 500 may be an image in which objects are further arranged in the window. In other words, in the entire image 500, the image of the object may be superimposed and arranged in the image area of the window and in front of the image of the window. Further, another window may be superposed on at least a part of one window.

このように、全体画像500においてウィンドウとオブジェクトまたはウィンドウ同士が重畳して配置されている場合、読出頻度決定部241は、表示オブジェクトのうち、オブジェクト全体がウィンドウの背面に隠れているオブジェクトの読出頻度を、オブジェクトの少なくとも一部が最前面に現れているオブジェクトの読出頻度よりも、低い頻度に決定してもよい。 In this way, when the windows and the objects or the windows are arranged so as to overlap each other in the whole image 500, the read frequency determination unit 241 reads the display objects whose entire object is hidden behind the window. May be determined less frequently than the reading frequency of the object in which at least a part of the object appears in the foreground.

これにより、ウィンドウの背面全て隠れていて、表示上ユーザから見えなくなっているオブジェクトについては、必要以上の頻度で変数値を読み出すことを防止することができる。したがって、プログラマブル表示器2は、高い表示品質を確保しつつ、変数値の読み出しに係る処理負荷を低減することができる。これにより、プログラマブル表示器における画像の描画速度および画面更新の速度をさらに向上させることができる。 As a result, it is possible to prevent the variable value from being read out more frequently than necessary for the object that is completely hidden behind the window and cannot be seen by the user on the display. Therefore, the programmable display 2 can reduce the processing load related to the reading of the variable value while ensuring high display quality. This makes it possible to further improve the image drawing speed and screen update speed of the programmable display.

さらに言えば、ウィンドウとオブジェクトまたはウィンドウ同士が重畳して配置されている場合、表示オブジェクトのうち、オブジェクト全体がウィンドウと重なっているオブジェクトは、非表示オブジェクトとみなされてもよい。例えば、実施形態3において説明した表示頻度の点数付与において、表示制御部243は、表示オブジェクトのうち、オブジェクト全体がウィンドウと重なっているオブジェクトを、非表示オブジェクトとみなして点数算出を行ってもよい。
〔実施形態6〕
本発明に係るプログラマブル表示器2は、表示領域変更部(表示制御部243)が表示領域の位置および大きさの少なくとも一方を変更する度にオブジェクトの表示頻度を示す値を算出する表示頻度算出部(表示制御部243)を備え、該表示頻度算出部において、上記オブジェクトの少なくとも一部が上記表示領域の範囲内にある場合に上記オブジェクトの上記表示頻度を示す値を増加させ、上記オブジェクトが上記表示領域の範囲外にある場合に上記オブジェクトの上記表示頻度を示す値を減少させ、読出頻度決定部241において、上記表示領域の範囲外に位置しているオブジェクトの上記読出頻度を、上記表示頻度に応じて段階的に低下させてもよい。
Furthermore, when the window and the object or the windows are arranged so as to overlap each other, the display object in which the entire object overlaps the window may be regarded as a hidden object. For example, in the display frequency score assignment described in the third embodiment, the display control unit 243 may calculate the score by regarding the display object whose entire object overlaps the window as a non-display object. ..
[Embodiment 6]
The programmable display 2 according to the present invention is a display frequency calculation unit that calculates a value indicating the display frequency of an object each time the display area change unit (display control unit 243) changes at least one of the position and size of the display area. (Display control unit 243) is provided, and in the display frequency calculation unit, when at least a part of the object is within the range of the display area, the value indicating the display frequency of the object is increased, and the object becomes the above. When the object is outside the range of the display area, the value indicating the display frequency of the object is reduced, and the read frequency determination unit 241 sets the read frequency of the object located outside the range of the display area to the display frequency. It may be lowered stepwise according to the situation.

上記の構成によれば、高頻度で表示されるオブジェクトについて読込頻度を高頻度に保つ一方、低頻度でしか表示されないオブジェクトについては、読込頻度をより低下させることができる。したがって、プログラマブル表示器2は、高い表示品質を確保することができる。 According to the above configuration, the read frequency can be kept high for the objects displayed frequently, while the read frequency can be further reduced for the objects displayed only infrequently. Therefore, the programmable display 2 can ensure high display quality.

〔ソフトウェアによる実現例〕
プログラマブル表示器2の制御ブロックは、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Example of realization by software]
The control block of the programmable display 2 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

後者の場合、プログラマブル表示器2は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the programmable display 2 includes a computer that executes a program instruction, which is software that realizes each function. The computer includes, for example, one or more processors and a computer-readable recording medium that stores the program. Then, in the computer, the processor reads the program from the recording medium and executes it, thereby achieving the object of the present invention. As the processor, for example, a CPU (Central Processing Unit) can be used. As the recording medium, a "non-temporary tangible medium", for example, a ROM (Read Only Memory) or the like, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. Further, a RAM (Random Access Memory) for expanding the above program may be further provided. Further, the program may be supplied to the computer via an arbitrary transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program. It should be noted that one aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the above program is embodied by electronic transmission.

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

1 PC(作画装置)
11 入力装置
12 モニタ
13 データ作成部
14 記憶部
141 データファイル
142 オブジェクト設定
143 画像データ
15 送信部
2 プログラマブル表示器
21 受信部
22 タッチパネル
23 表示パネル
24 制御部
241 読出頻度決定部
242 読出部
243 表示制御部(表示更新部、表示領域変更部、表示頻度算出部)
25 記憶部
251 読出頻度データ
252 変数値
26 I/F
3 PLC(コントローラ)
4 機器
300 表示制御システム
500 全体画像(第1画像)
600 表示領域
1 PC (drawing device)
11 Input device 12 Monitor 13 Data creation unit 14 Storage unit 141 Data file 142 Object setting 143 Image data 15 Transmission unit 2 Programmable display 21 Receiver unit 22 Touch panel 23 Display panel 24 Control unit 241 Read frequency determination unit 242 Read unit 243 Display control Section (display update section, display area change section, display frequency calculation section)
25 Storage unit 251 Read frequency data 252 Variable value 26 I / F
3 PLC (controller)
4 Equipment 300 Display control system 500 Overall image (first image)
600 display area

Claims (7)

変数値に応じて動的に状態が変化するオブジェクトを配置した第1画像の一部分を、表示領域として表示装置に表示し、上記第1画像の前記表示領域の範囲外の部分を前記表示装置に表示しないプログラマブル表示器であって、
コントローラからの上記変数値の読出頻度を決定する読出頻度決定部と、
上記読出頻度決定部が決定した上記読出頻度で上記コントローラから上記変数値を読み出す読出部と、
上記変数値に応じて上記オブジェクトを再描画する表示更新部と、を備え、
上記読出頻度決定部は、上記オブジェクトの全部が上記表示領域の範囲外に位置している非表示オブジェクトの上記読出頻度を、上記オブジェクトの少なくとも一部が上記表示領域の範囲内に位置している表示オブジェクトの上記読出頻度よりも、低い頻度に決定することを特徴とする、プログラマブル表示器。
A part of the first image in which an object whose state changes dynamically according to a variable value is arranged is displayed on the display device as a display area, and a part outside the range of the display area of the first image is displayed on the display device. A programmable display that does not display
A read frequency determination unit that determines the read frequency of the above variable values from the controller,
A reading unit that reads the variable value from the controller at the reading frequency determined by the reading frequency determining unit, and
It is equipped with a display update unit that redraws the above object according to the above variable value.
The read frequency determination unit sets the read frequency of non-display objects in which all of the objects are located outside the range of the display area, and at least a part of the objects is located in the range of the display area. A programmable display, characterized in that the display object is determined to be read less frequently than the above-mentioned reading frequency.
上記第1画像は、第1オブジェクトと、該第1オブジェクトの上記変数値の参照先である第2オブジェクトと、を含み、
上記読出頻度決定部は、上記第1オブジェクトの少なくとも一部が上記表示領域の範囲内に位置している場合、上記第2オブジェクトの位置に関わらず、当該第2オブジェクトが上記表示領域の範囲内に位置しているとみなして上記読出頻度を決定することを特徴とする、請求項1に記載のプログラマブル表示器。
The first image includes a first object and a second object to which the variable value of the first object is referenced.
When at least a part of the first object is located within the range of the display area, the read frequency determination unit indicates that the second object is within the range of the display area regardless of the position of the second object. The programmable display according to claim 1, wherein the read frequency is determined by assuming that the object is located in.
上記第1画像に対する上記表示領域の位置および大きさの少なくとも一方を、ユーザの入力操作に応じて変更する表示領域変更部を備え、
上記読出頻度決定部は、上記表示領域変更部が上記表示領域の位置および大きさの少なくとも一方を変更した場合、上記読出頻度を再決定することを特徴とする、請求項1または2に記載のプログラマブル表示器。
A display area changing unit that changes at least one of the position and size of the display area with respect to the first image according to a user's input operation is provided.
The reading frequency determining unit according to claim 1 or 2, wherein when the display area changing unit changes at least one of the position and the size of the display area, the reading frequency is redetermined. Programmable display.
上記読出頻度決定部は、上記表示領域変更部が上記表示領域の位置および大きさの少なくとも一方を変更した場合、または上記表示領域変更部が上記表示領域の再描画を行った場合に、上記非表示オブジェクトについては上記読出頻度を減少させることを特徴とする、請求項3に記載のプログラマブル表示器。 The read frequency determination unit is not used when the display area changing unit changes at least one of the position and size of the display area, or when the display area changing unit redraws the display area. The programmable display according to claim 3, wherein the display object is read out less frequently. 上記表示更新部は、上記表示領域の範囲外に位置している上記非表示オブジェクトを、上記表示領域の範囲内に位置している上記表示オブジェクトより低頻度で再描画することを特徴とする、請求項1〜4のいずれか1項に記載のプログラマブル表示器。 The display update unit is characterized in that the non-display object located outside the range of the display area is redrawn less frequently than the display object located within the range of the display area. The programmable display according to any one of claims 1 to 4. 上記第1画像は、上記オブジェクトに重畳して表示されるウィンドウを含み、
上記読出頻度決定部は、上記表示領域の範囲内に位置している上記表示オブジェクトのうち、上記ウィンドウと重なって位置している上記表示オブジェクトの読出頻度を、上記ウィンドウと重なっていない上記表示オブジェクトの読出頻度よりも低い頻度に決定することを特徴とする、請求項1〜5のいずれか1項に記載のプログラマブル表示器。
The first image includes a window displayed superimposed on the object.
The reading frequency determining unit, among the display objects that are located within the display area, the reading frequency of the display object that is positioned to overlap with the window, the display objects that do not overlap with the window The programmable display according to any one of claims 1 to 5, wherein the frequency is determined to be lower than the reading frequency of the above.
変数値に応じて動的に状態が変化するオブジェクトを配置した第1画像の一部分を、表示領域として表示するプログラマブル表示器であって、
コントローラからの上記変数値の読出頻度を決定する読出頻度決定部と、
上記読出頻度決定部が決定した上記読出頻度で上記コントローラから上記変数値を読み出す読出部と、
上記変数値に応じて上記オブジェクトを再描画する表示更新部と、を備え、
上記読出頻度決定部は、上記表示領域の範囲外に位置しているオブジェクトの上記読出頻度を、少なくとも一部が上記表示領域の範囲内に位置しているオブジェクトの上記読出頻度よりも、低い頻度に決定し、
上記第1画像は、第1オブジェクトと、該第1オブジェクトの上記変数値の参照先である第2オブジェクトと、を含み、
上記読出頻度決定部は、上記第1オブジェクトが上記表示領域の範囲内に位置している場合、上記第2オブジェクトの位置に関わらず、当該第2オブジェクトが上記表示領域の範囲内に位置しているとみなして上記読出頻度を決定することを特徴とする、プログラマブル表示器。
A programmable display that displays a part of the first image in which an object whose state changes dynamically according to a variable value is arranged as a display area.
A read frequency determination unit that determines the read frequency of the above variable values from the controller,
A reading unit that reads the variable value from the controller at the reading frequency determined by the reading frequency determining unit, and
It is equipped with a display update unit that redraws the above object according to the above variable value.
The read frequency determination unit sets the read frequency of objects located outside the display area to be lower than the read frequency of objects located at least in part within the display area. Decided to
The first image includes a first object and a second object to which the variable value of the first object is referenced.
When the first object is located within the range of the display area, the read frequency determination unit positions the second object within the range of the display area regardless of the position of the second object. and determining the reading frequency is regarded as have, programmable display.
JP2017125462A 2017-06-27 2017-06-27 Programmable display Active JP6910220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017125462A JP6910220B2 (en) 2017-06-27 2017-06-27 Programmable display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017125462A JP6910220B2 (en) 2017-06-27 2017-06-27 Programmable display

Publications (2)

Publication Number Publication Date
JP2019008661A JP2019008661A (en) 2019-01-17
JP6910220B2 true JP6910220B2 (en) 2021-07-28

Family

ID=65028971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017125462A Active JP6910220B2 (en) 2017-06-27 2017-06-27 Programmable display

Country Status (1)

Country Link
JP (1) JP6910220B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7797298B2 (en) * 2022-04-21 2026-01-13 シュナイダーエレクトリックホールディングス株式会社 Creation device and programmable display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11238027A (en) * 1998-02-24 1999-08-31 Hitachi Ltd Screen updating method and screen updating terminal device
JP2000148228A (en) * 1998-11-16 2000-05-26 Mitsubishi Electric Corp Data monitoring device

Also Published As

Publication number Publication date
JP2019008661A (en) 2019-01-17

Similar Documents

Publication Publication Date Title
EP4357892A1 (en) Desktop management method for terminal device, and terminal device
JP4912397B2 (en) Display object layout change device
US5790819A (en) Mechanism for fine-grained and coarse-grained control of zooming in a display of a one-dimensional data set
CN109298909B (en) A window adjustment method, mobile terminal and computer-readable storage medium
US12073070B2 (en) Dynamic element control method, electronic device, and computer readable storage medium
JP6026363B2 (en) Information processing apparatus and control program
JP6432409B2 (en) Touch panel control device and touch panel control program
KR20160097050A (en) Method and apparatus for displaying composition screen by composing the OS screens
CN107203434A (en) A kind of texture shared method, device and computer-readable recording medium
KR20160051373A (en) User terminal device and method for controlling the user terminal device thereof
JP6068758B2 (en) Programmable display
JP6910220B2 (en) Programmable display
CN115705231A (en) Screen display method and terminal device
CN107820601B (en) Display control method, display control system and display device
JP2019053196A (en) Information processing device, and screen control method
CN100464368C (en) A display controller that allows overlapping displays
CN107589890A (en) A kind of mouse clicks on the response method and device for the view that is blocked
CN117827337A (en) Interface display method and display device
CN113093961B (en) Window switching method, storage medium and related equipment
CN102023747A (en) Information processing apparatus, display control method, and program
EP3522530A1 (en) System performance improvement method, system performance improvement device and display device
CN116136721A (en) Delay-free line drawing display method, device, equipment and storage medium
JP2017146471A (en) Programmable display unit, programmable system having the same, and display method for programmable display unit
US20260010260A1 (en) Touch Operation Processing Method, Device, and Storage Medium
JP6752311B2 (en) Display device and display method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170922

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210507

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210706

R150 Certificate of patent or registration of utility model

Ref document number: 6910220

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