JP2006133516A - Display device for control, display control program, and recording medium - Google Patents
Display device for control, display control program, and recording medium Download PDFInfo
- Publication number
- JP2006133516A JP2006133516A JP2004322617A JP2004322617A JP2006133516A JP 2006133516 A JP2006133516 A JP 2006133516A JP 2004322617 A JP2004322617 A JP 2004322617A JP 2004322617 A JP2004322617 A JP 2004322617A JP 2006133516 A JP2006133516 A JP 2006133516A
- Authority
- JP
- Japan
- Prior art keywords
- data
- record data
- record
- screen
- list
- 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
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、画面表示およびデバイスの制御に必要なデータをメモリ上で効率的に管理することができる制御用表示装置、表示制御プログラムおよび記録媒体に関する。 The present invention relates to a display device for control, a display control program, and a recording medium that can efficiently manage data necessary for screen display and device control on a memory.
従来、制御システムのHMI(Human Machine Interface)として、プログラマブル表示器をはじめとするグラフィック操作パネルが広く使用されている(後述する特許文献1参照)。 Conventionally, a graphic operation panel including a programmable display has been widely used as an HMI (Human Machine Interface) of a control system (see Patent Document 1 described later).
当該グラフィック操作パネルは、デバイスの状態を操作画面上に表示してオペレータへ通知すると共に、オペレータによる操作画面への操作を受け付け、当該操作に応じてデバイスを制御している。 The graphic operation panel displays the state of the device on the operation screen to notify the operator, accepts an operation on the operation screen by the operator, and controls the device according to the operation.
ここで、このような制御システムでは、多くの場合、作画エディタ装置を用いてユーザが作成した、いわゆる画面データに基づき、グラフィック操作パネルにおいて、操作画面を表示している。このような画面データは、通常、タグと呼ばれる定義データが、複数、連続して格納されている、静的なデータ構造を取っている。例えば、こうした静的なデータ構造を開示する文献として、特許文献1がある。
しかし、従来の装置では、画面データが静的なデータ構造を取っていることが原因となり、以下に示すような問題が生じている。 However, the conventional apparatus has the following problems due to the fact that the screen data has a static data structure.
まず、画面に表示される部品の最大数に必要なメモリエリアを、無条件に確保する必要がある。したがって、現在の画面表示には使用していない部品データに対するメモリエリアも無条件で確保されることになるため、メモリエリアを無駄に使用してしまうおそれがある。 First, it is necessary to unconditionally secure a memory area necessary for the maximum number of components displayed on the screen. Therefore, a memory area for component data that is not used for the current screen display is also unconditionally secured, and there is a possibility that the memory area is wasted.
また、静的なデータ構造では、画面データに格納する部品データの最大数を、画面を設計する際に、予め固定する必要がある。したがって、新たに部品データを追加する際には、画面データを始めから作成し直す必要があり、データ更新の柔軟性に欠ける。 In the static data structure, the maximum number of component data stored in the screen data needs to be fixed in advance when designing the screen. Therefore, when new component data is added, it is necessary to recreate the screen data from the beginning, and the data update flexibility is lacking.
さらに、データ構造が静的に固定化されていることから、各部品データに新たな情報を追加する際、他の部品データへの影響が大きくなり、データの更新が容易ではない。例えば、データがメモリエリアに連なって並んでいるため、情報の書き込みに誤りがあると、連続した次のデータにまで誤った書き込みを行う可能性がある。 Furthermore, since the data structure is statically fixed, when new information is added to each component data, the influence on other component data becomes large, and the data update is not easy. For example, since data is arranged in a row in the memory area, if there is an error in writing information, there is a possibility that incorrect writing is performed up to the next consecutive data.
また、画面を表示する際、確保したメモリエリアの最初から最後までをチェックする必要がある。これにより、現在の表示画面には含まれていない部品データにまでアクセスせざるを得なく、その分だけ、処理に余計な時間を要する可能性もある。 Also, when displaying the screen, it is necessary to check from the beginning to the end of the reserved memory area. As a result, it is necessary to access even part data that is not included in the current display screen, and there is a possibility that extra time is required for the processing.
本発明は上記の問題点に鑑みてなされたものであり、その目的は、画面表示およびデバイスの制御に必要なデータをメモリ上で効率的に管理することができる制御用表示装置、表示制御プログラムおよび記録媒体を提供することにある。 The present invention has been made in view of the above problems, and an object thereof is to provide a display device for control and a display control program capable of efficiently managing data necessary for screen display and device control on a memory. And providing a recording medium.
上記の課題を解決するために、本発明の制御用表示装置は、複数の領域によって構成される表示画面において、いずれかの領域への入力を受け付け、当該受け付けた領域を識別する領域識別データを出力する領域入力手段と、上記領域識別データと、所定の処理内容を定義している実行内容定義データを参照している定義データ参照アドレスと、他の参照すべきレコードデータを参照しているレコードデータ参照アドレスとが互いに関連づけられているレコードデータが複数組み合わされて構成されているレコードデータリストを記録している記憶部と、上記領域識別データおよび上記レコードデータリストに基づき、上記領域入力手段が受け付けた領域に対応づけられている上記実行内容定義データを特定して、この実行内容定義データに定義されている所定の処理を実行する処理実行手段とを備えていることを特徴としている。 In order to solve the above-described problem, the display device for control according to the present invention accepts input to any of the areas on the display screen constituted by a plurality of areas, and stores area identification data for identifying the received areas. Area input means to output, the above area identification data, definition data reference address referring to execution contents definition data defining predetermined processing contents, and records referring to other record data to be referred to A storage unit that records a record data list configured by combining a plurality of record data associated with data reference addresses, and the region input means based on the region identification data and the record data list. The execution content definition data associated with the received area is identified, and the execution content definition data It is characterized by comprising a process execution means for executing predetermined processing being defined.
上記の構成によれば、例えばユーザによる画面上の領域を押下の領域入力手段が受け付けると、処理実行手段が、この領域に対する入力があった場合に実行されるべき所定の処理を実行する。 According to the configuration described above, for example, when the area input unit that presses down the area on the screen by the user accepts, the process execution unit executes a predetermined process to be executed when there is an input to the area.
このとき、処理実行手段は、レコードデータリストに基づき、入力があった領域に対応する実行内容定義データを特定する。このレコードデータリストは、複数のレコードデータからなっており、各レコードデータは、他の参照すべきレコードデータを参照するレコードデータ参照アドレスを有している、いわゆる動的なリスト構造を取っている。 At this time, the process execution means specifies execution content definition data corresponding to the input area based on the record data list. This record data list is composed of a plurality of record data, and each record data has a so-called dynamic list structure having a record data reference address for referring to other record data to be referred to. .
したがって、処理実行手段は、所定の処理、例えばある単位画面の表示や、または画面内の領域に対する入力があった場合に実行するイベントの処理などを、必要なデータにのみアクセすることによって、実行することができる。すなわち、制御用表示装置は、画面表示等の処理を行う際の処理速度をより速めることができる効果を奏する。 Therefore, the process execution means executes a predetermined process, for example, a display of a unit screen or an event process to be executed when there is an input to an area in the screen by accessing only necessary data. can do. That is, the control display device has an effect of further increasing the processing speed when performing processing such as screen display.
また、各実行内容定義データは、いずれも、レコードデータリストとは異なるメモリエリアに格納されている。したがって、レコードデータリストに対するレコードデータの追加や、あるいはレコードデータリストからのレコードデータの削除を行う際、既存の実行内容定義データに一切アクセスする必要がない。したがって、レコードデータリストにおけるレコードデータの増減を行う際、データを破壊する可能性を最小限にすることができる効果も奏する。 Each execution content definition data is stored in a memory area different from the record data list. Therefore, when adding record data to the record data list or deleting record data from the record data list, there is no need to access existing execution content definition data. Therefore, there is an effect that the possibility of destroying data can be minimized when increasing or decreasing the record data in the record data list.
さらに、画面表示に必要な分の実行内容定義データおよびレコードデータリストを用いることから、必要なメモリエリアを最小限にすることができ、メモリエリアを無駄に使用しなくて済む効果も奏する。 Furthermore, since the execution content definition data and the record data list necessary for the screen display are used, the necessary memory area can be minimized, and the memory area can be saved.
また、本発明に係る制御用表示装置は、制御用表示装置の画面上の領域と、各領域への表示や入力に対応するデバイスとの対応関係を示すタグが組み合わされて構成されている画面データに基づき、上記レコードデータリストおよび実行内容定義データを生成するレコードリスト作成手段をさらに備えていることが好ましい。 Further, the control display device according to the present invention is a screen configured by combining a tag indicating the correspondence relationship between an area on the screen of the control display device and a device corresponding to display or input in each area. It is preferable to further include record list creation means for generating the record data list and the execution content definition data based on the data.
上記の構成によれば、静的なデータ構造を取っている画面データを元に、動的なデータ構造を取っているレコードデータリストが生成される。したがって、画面データを用いて画面表示を行ったり領域への入力に対する所定の処理を行ったりする場合に比べて、処理速度をより速くしたり、メモリエリアの消費量をより少なくしたりできる効果を奏する。 According to the above configuration, a record data list having a dynamic data structure is generated based on screen data having a static data structure. Therefore, it is possible to increase the processing speed and reduce the memory area consumption compared to the case where screen data is used for screen display or predetermined processing for input to the area is performed. Play.
また、本発明に係る制御用表示装置では、外部の端末装置から、上記実行内容定義データを受信する端末側通信手段と、上記実行内容定義データに基づき、この実行内容定義データを参照する定義データ参照アドレスを含むレコードデータを作成するレコードデータ作成手段と、上記レコードデータを、上記レコードデータリストに追加するレコードデータ追加手段とをさらに備えていることが好ましい。 In the control display device according to the present invention, the terminal-side communication means that receives the execution content definition data from an external terminal device, and the definition data that refers to the execution content definition data based on the execution content definition data. It is preferable to further comprise record data creating means for creating record data including a reference address, and record data adding means for adding the record data to the record data list.
上記の構成によれば、レコードデータリストに、新たなレコードデータが追加される。このレコードデータは、外部端末装置から送信された、新たな実行内容定義データを参照しているものである。したがって、まず、画面を構成する領域を新たに増やすことができる効果を奏する。 According to the above configuration, new record data is added to the record data list. This record data refers to new execution content definition data transmitted from the external terminal device. Therefore, first, there is an effect that the area constituting the screen can be newly increased.
このとき、レコードデータリストを構成している各レコードデータと、このレコードデータから参照されている各実行内容定義データとは、記憶部において、分離されたメモリエリアに格納されている。したがって、新たなレコードデータを追加する際、既存の実行内容定義データにアクセスする必要がない。また、既存のレコードデータの書き換えも、最小限で済む。 At this time, each record data constituting the record data list and each execution content definition data referenced from this record data are stored in a separate memory area in the storage unit. Therefore, when adding new record data, it is not necessary to access existing execution content definition data. In addition, rewriting of existing record data can be minimized.
したがって、表示画面に新たな領域を追加する際、既存のデータを破壊する可能性を最小限にできる効果も奏する。 Therefore, when adding a new area to the display screen, the possibility of destroying existing data can be minimized.
また、本発明に係る制御用表示装置は、さらに、上記端末側通信手段が受信した上記実行内容定義データを、上記画面データに保存する保存手段を備えていることが好ましい。 The control display device according to the present invention preferably further includes a storage unit that stores the execution content definition data received by the terminal-side communication unit in the screen data.
上記の構成によれば、画面データに実行内容定義データを保存するため、表示画面の更新を画面データレベルに反映させることができる。したがって、更新した画面データを元に、新たな領域を追加した表示画面を再現するためのレコードデータリストを生成することができる効果を奏する。 According to the above configuration, since the execution content definition data is stored in the screen data, the update of the display screen can be reflected on the screen data level. Therefore, it is possible to generate a record data list for reproducing a display screen to which a new area is added based on the updated screen data.
なお、上記制御用表示装置は、コンピュータによって実現してもよい。この場合、コンピュータを上記各手段として動作させることにより上記制御用表示装置をコンピュータにて実現させる表示制御プログラム、およびその表示制御プログラムを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The control display device may be realized by a computer. In this case, a display control program for realizing the control display device on the computer by operating the computer as each of the above means and a computer-readable recording medium on which the display control program is recorded also fall within the scope of the present invention. .
以上のように、本発明に係る制御用表示装置では、動的なリスト構造を取るレコードデータリストに基づき所定の処理を実行する処理実行手段を備えているため、画面表示およびデバイスの制御に必要なデータをメモリ上で効率的に管理することができ、かつ、処理をより素早く実行できる効果を奏する。 As described above, the control display device according to the present invention includes processing execution means for executing a predetermined process based on a record data list having a dynamic list structure, and thus is necessary for screen display and device control. Data can be efficiently managed on the memory, and the processing can be executed more quickly.
本発明の一実施形態について、図1〜図6を参照して説明する。 An embodiment of the present invention will be described with reference to FIGS.
本発明の制御システムは、ターゲットシステムに備えられているデバイス60を制御するためのシステムである。この制御システムは、例えば、ベルトコンベア式の自動組付機などのデバイス60の制御に好適に用いられる。以下では、本発明の制御用表示装置20を説明するに先立ち、まず、制御用表示装置20を備えている制御システムの全体構成について詳細に説明する。
The control system of the present invention is a system for controlling the
〔制御システム〕
図1は、本発明の一実施形態に係る制御用表示装置20を含む制御システムの詳細な構成を示すブロック図である。この図に示すように、本発明に係る制御システムは、作画エディタ装置10、制御用表示装置20、端末装置40、PLC50、およびデバイス60からなる構成である。
[Control system]
FIG. 1 is a block diagram showing a detailed configuration of a control system including a
〔作画エディタ装置10〕
作画エディタ装置10は、制御用表示装置20において画面表示に使用される画面データを作成するための装置である。この作画エディタ装置10は、作画処理部12および通信部14を備えている。オペレータは、専用のエディタソフトウェアを用い、画面上でスイッチやランプなどの各部品画像を組み合わせることによって、表示画面を作成する。このとき、作画処理部12は、オペレータが作成した画面に基づき、この画面を表示するために制御用表示装置20が用いる画面データを生成する。また、通信部14は、作画処理部12が生成した画面データを、制御用表示装置20の作画エディタ側通信部22に送信する。
[Screen Editor 10]
The
〔PLC50、デバイス60〕
PLC50は、デバイス60を制御する制御装置である。デバイス60として、ターゲットシステムに備えられる各種スイッチやランプ等がある。これらのデバイスは、何らかのデバイスアドレスにより、制御用表示装置20によって特定されることが可能なものであれば、任意のものでかまわない。例えば、デバイスは、デバイス60自体であってもよいし、PLC50や、制御用表示装置20に装着されている記憶装置など、制御システムに設けられている記憶装置の一領域であってもよい。
[PLC50, device 60]
The
〔制御用表示装置20〕
制御用表示装置20は、デバイス60の状態を表示し、オペレータによるデバイス60への操作を受け付け、デバイス60を制御する指示を、PLC50に出力する。このとき、制御用表示装置20は、作画エディタ装置10において生成された画面データに基づき、液晶ディスプレイ等によって構成されるディスプレイ25上に、各デバイス60等を表す部品画像を表示する。オペレータが制御用表示装置20を操作し、端末装置40に表示されている各部品画像を押下する(タッチする)することによって、制御用表示装置20では、デバイス60への制御指示や、別の画面への表示切り替えなどが行われる。
[Control Display Device 20]
The
また、制御用表示装置20は、いわゆるプログラマブル表示器の一種である。すなわち、制御用表示装置20は、後述する画面データに基づいて、デバイス60を制御するためにオペレータに提供する表示画面を、ディスプレイ25上に表示する。また、ディスプレイ25においてオペレータによる入力を受け付けることによって、デバイス60を制御したり、ディスプレイ25における画面表示を更新したりする。
The
制御システムでは、図1に示すように、制御用表示装置20は、シリアルケーブルなどの通信回線を介して、各PLC50と接続されている。図1では、説明の便宜上、制御用表示装置20に接続された2台のPLC50と、各PLC50に接続されたそれぞれ1台のデバイス60とを表示している。しかし、制御用表示装置20を備えている制御システムでは、ターゲットシステムの規模に応じて、必要な数のPLC50およびデバイス60を任意に備えることができる。
In the control system, as shown in FIG. 1, the
制御用表示装置20は、上述したように、作画エディタ装置10において作成され、制御用表示装置20に送信される画面データに基づき、画面データが表す画面を、ディスプレイ25に表示する。このとき、制御用表示装置20では、静的なデータ構造を取る画面データから、部品の画面表示に関するデータ、およびオペレータによる入力操作に対する実行内容を定義する定義データを抽出する。そして、メモリ24上に、表示画面を表示するために必要なデータを、動的なリスト構造として構築する。制御用表示装置20は、こうして構築した動的リスト構造に基づき、実際の画面表示を行ったり、オペレータがタッチした部品に対応する所定の処理を実行したりする。
As described above, the
〔制御用表示装置20の詳細〕
このような特徴を有している制御用表示装置20について、図1を参照して詳細に説明する。制御用表示装置20は、図1に示すように、制御部21、作画エディタ側通信部22、画面データ記憶部23(画面データ記憶手段)、メモリ24(記憶部)、ディスプレイ25、タッチパネル26(領域入力手段)、端末側通信部27(端末側通信手段)、レコードリスト作成部28(レコードデータ作成手段、レコードリスト作成手段、レコードデータ追加手段)、イベント実行部29(処理実行手段)、およびPLC側通信部30を備えている。
[Details of Control Display Device 20]
The
〔制御部21〕
制御部21は、制御用表示装置20内に備えられている各部材を統括的に制御する。例えば、作画エディタ側通信部22が受信した画面データを、画面データ記憶部23に格納する。
[Control unit 21]
The
〔作画エディタ側通信部22〕
作画エディタ側通信部22は、作画エディタ装置10から送信された画面データを受信し、制御部21に出力する。
[Graphic editor side communication unit 22]
The drawing editor
〔画面データ記憶部23〕
画面データ記憶部23は、PLC側通信部30を通じて受信した画面データを格納している。
[Screen Data Storage Unit 23]
The screen
〔メモリ24〕
メモリ24は、後述するレコードリスト作成部28が生成したレコードデータリストを記憶している。
[Memory 24]
The
〔ディスプレイ25〕
ディスプレイ25は、表示画面を表示する。このディスプレイ25に表示されている部品画像にオペレータがタッチすることによって、制御用表示装置20では、各部品に対応付けられている所定の処理が実行される。この詳細については、後述する。
[Display 25]
The
〔タッチパネル26〕
タッチパネル26は、複数の部品(領域)によって構成される表示画面において、いずれかの部品へのオペレータによる入力を受け付け、当該受け付けた部品を識別する部品識別データ(領域識別データ)を出力する。すなわち、タッチパネル26は、ディスプレイ25において表示されている表示画面内のいずれかの部品への、オペレータによるタッチ動作を検出する。この後、タッチパネル26は、オペレータがタッチした部品を特定する部品識別データを出力する。
[Touch panel 26]
The
〔端末側通信部27〕
端末側通信部27は、端末装置40から送信された部品データを受信し、制御部21に出力する。この詳細については、後述する。
[Terminal side communication unit 27]
The terminal-
〔レコードリスト作成部28〕
レコードリスト作成部28は、画面データに基づき、後述するレコードデータリストを生成する。レコードリスト作成部28がどのようにレコードデータリストを生成するかについての詳細は、後述する。また、レコードリスト作成部28は、端末側通信部27が受信した部品データに基づき、レコードデータリストに新たに追加するレコードデータや、このレコードデータによって参照されている実行内容定義データを生成する。この処理の詳細についても、後述する。
[Record list creation unit 28]
The record
〔イベント実行部29〕
イベント実行部29は、部品識別データおよびレコードデータリストに基づき、オペレータがタッチした領域に対応する実行内容定義データを特定して、この実行内容定義データに定義されている所定の処理を実行する。
[Event execution unit 29]
The
〔PLC側通信部30〕
PLC側通信部30は、通信回線を通じてPLC50とやり取りし、イベント実行部29が実行した所定の処理内容に基づく、デバイス60に対する制御内容をPLC50に送信する。また、PLC50から、デバイス60の状態を示すデータを受信する。
[PLC side communication unit 30]
The PLC-
〔画面データ〕
作画処理部12において生成され、制御用表示装置20に送信される画面データは、画面上の領域と、各領域への表示や入力に対応するデバイス60との対応関係を示すタグが組み合わされて構成されている。この画面データを利用することによって、制御用表示装置20は、複数の単位画面を切り換えて表示することができる。また、タグは、このタグが有効となる単位画面を示すファイル番号と、単位画面上で実行すべき処理内容を特定する事象名と、事象ごとに参照される参照情報とを含んでいる。このようなタグからなる画面データは、複数のタグが連続して並んでいる、静的なデータ構造を取っている。
[Screen data]
The screen data generated in the
〔レコードデータリスト〕
レコードリスト作成部28は、静的構造の画面データに基づき、動的なリスト型データ構造を取る、レコードデータリストを作成する。例えば、レコードリスト作成部28は、タグに定義されている部品を識別するための部品識別データと、所定の処理内容を定義している実行内容定義データを参照している定義データ参照アドレスと、次のレコードデータ(他の参照すべきレコードデータ)を参照しているレコードデータ参照アドレスとを互いに関連づけて、1つのレコードデータを生成する。そして、レコードリスト作成部28は、複数のレコードデータを組み合わせて、レコードデータリストを生成する。最後に、レコードリスト作成部28は、生成したレコードデータリストを、制御部21を通じてメモリ24に保存する。
[Record Data List]
The record
以下では、表示画面に三つの部品が表示される場合に必要なレコードデータリストをレコードリスト作成部28が作成する例について、図2および図3を参照して説明する。
Hereinafter, an example in which the record
図2(a)に示すように、画面G1には、部品S1、部品S2、および部品S3が含まれている。この画面G1を表示するために必要なレコードデータリストの例を、図3に示す。 As shown in FIG. 2A, the screen G1 includes a part S1, a part S2, and a part S3. An example of the record data list necessary for displaying this screen G1 is shown in FIG.
〔レコードデータリストの生成〕
レコードリスト作成部28は、画面データに含まれている各タグを調べ、現在の画面表示に必要なタグをまず特定する。そして、それらのタグから、実行内容定義データを抽出する。この実行内容定義データには、例えば、表示すべき部品の画像データの種類、画像を表示する座標、ビット・ワードなどの動作モードの種類、デバイス60へのアドレス、定数(書き込むべきデータ)など、表示画面を構成する部品に関する所定の処理内容や定数が定義されている。
[Generate record data list]
The record
〔レコードデータL1および実行内容定義データD1の生成〕
まずレコードリスト作成部28は、画面データに格納されている、第1の部品である部品S1に対応したタグに基づき、部品S1に対応したレコードデータと、このレコードデータから参照され、オペレータが部品S1にタッチした場合に実行される所定の処理を定義した実行内容定義データD1とを作成する。
[Generation of Record Data L1 and Execution Content Definition Data D1]
First, the record
このときレコードリスト作成部28は、まず、部品S1に対応したタグに定義されている、部品S1を識別する為のデータである部品識別データID1を生成する。次に、レコードリスト作成部28は、部品S1の表示や、オペレータが部品S1にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD1を作成する。すなわち、この実行内容定義データD1は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データを格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD1を格納する。
At this time, the record
次にレコードリスト作成部28は、実行内容定義データD1を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD1と、上述した部品識別データID1とを関連づけたデータとして、レコードデータL1を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL1を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL1を格納する。
Next, the record
こうして、レコードリスト作成部28は、第1の部品である部品S1に対応したレコードデータL1と、このレコードデータL1から参照されている実行内容定義データD1とを、いずれもメモリ24上に作成する。すなわち、以上の処理を行うことによって、メモリ24上では、実行内容定義データD1と、この実行内容定義データD1を参照しているレコードデータL1が、それぞれ別のメモリエリアに格納されることになる。
In this way, the record
〔レコードデータL2および実行内容定義データD2の生成〕
レコードデータL1を作成した後、レコードリスト作成部28は、画面データに格納されている、第2の部品である部品S2に対応したタグに基づき、部品S2に対応したレコードデータL2と、このレコードデータL2から参照され、オペレータが部品S2にタッチした場合に実行される所定の処理を定義した実行内容定義データD2とを作成する。
[Generation of Record Data L2 and Execution Content Definition Data D2]
After creating the record data L1, the record
このときレコードリスト作成部28は、まず、部品S2に対応したタグに定義されている、部品S2を識別する為のデータである部品識別データID2を生成する。次に、レコードリスト作成部28は、部品S2の表示や、オペレータが部品S2にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD2を作成する。すなわち、この実行内容定義データD2は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データD2を格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD2を格納する。
At this time, the record
次にレコードリスト作成部28は、実行内容定義データD2を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD2と、上述した部品識別データID2とを関連づけたデータとして、レコードデータL2を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL2を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL2を格納する。
Next, the record
こうしてレコードリスト作成部28は、第2の部品である部品S2に対応したレコードデータL2と、このレコードデータL2から参照されている実行内容定義データD2とを、メモリ24上に作成する。すなわち、以上の処理を行うことによって、メモリ24上では、実行内容定義データD2と、この実行内容定義データD2を参照しているレコードデータL2が、それぞれ別のメモリエリアに格納されることになる。
Thus, the record
さらに、レコードリスト作成部28は、メモリ24においてレコードデータL2を格納しているメモリエリアにアクセスし、その先頭アドレスを抽出する。そして、レコードリスト作成部28は、当該抽出したアドレスをレコードデータ参照アドレスN1として、レコードデータL1内に格納する。このような処理を行うことによって、レコードデータL1は、内部の定義データ参照アドレスAD1によって実行内容定義データD1を参照すると同時に、レコードデータ参照アドレスN1によって、次のレコードデータであるレコードデータL2をも参照することになる。
Further, the record
以上のよう処理が行われることによって、レコードリスト作成部28が生成するレコードデータおよびレコードデータリストは、次に示す様な構成を取ることになる。すなわち、レコードデータは、部品識別データと、所定の処理内容を定義している実行内容定義データのうち、他のいずれの定義データ参照アドレスによっても参照されていない1つの実行内容定義データを参照している定義データ参照アドレスと、他のレコードデータのうち、他のいずれのレコードデータ参照アドレスによっても参照されていない1つのレコードデータを参照するレコードデータ参照アドレスとが、互いに関連づけられて構成されている。これにより、レコードデータリストは、このようなレコードデータが、複数、組み合わされて構成されていることになる。
By performing the processing as described above, the record data and the record data list generated by the record
制御用表示装置20では、イベント実行部29が、レコードデータL1に基づくことによって、レコードデータL1の次のレコードデータであるレコードデータL2をメモリ24上で容易に検索することができるため、処理速度が向上する。
In the
〔レコードデータL3および実行内容定義データD3の生成〕
レコードデータL1およびレコードデータL2を作成した後、レコードリスト作成部28は、画面データに格納されている、第3の部品である部品S3に対応したタグに基づき、部品S3に対応したレコードデータL3と、このレコードデータL3から参照され、オペレータが部品S3にタッチした場合に実行される所定の処理を定義した実行内容定義データD3とを作成する。
[Generation of Record Data L3 and Execution Content Definition Data D3]
After creating the record data L1 and the record data L2, the record
このときレコードリスト作成部28は、まず、部品S3に対応したタグに定義されている、部品S3を識別する為のデータである部品識別データID3を生成する。次に、レコードリスト作成部28は、部品S3の表示や、オペレータが部品S3にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD3を作成する。すなわち、この実行内容定義データD3は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データD3を格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD3を格納する。
At this time, the record
次にレコードリスト作成部28は、実行内容定義データD3を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD3と、上述した部品識別データID3とを関連づけたデータとして、レコードデータL3を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL3を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL3を格納する。
Next, the record
次に、レコードリスト作成部28は、メモリ24においてレコードデータL3を格納しているメモリエリアにアクセスし、その先頭アドレスを抽出する。そして、レコードリスト作成部28は、当該抽出したアドレスをレコードデータ参照アドレスN2として、レコードデータL2内に格納する。このような処理を行うことによって、レコードデータL2は、内部の定義データ参照アドレスAD2によって実行内容定義データD2を参照すると同時に、レコードデータ参照アドレスN2によって、次のレコードデータであるレコードデータL3をも参照することになる。
Next, the record
すなわち、制御用表示装置20では、イベント実行部29が、レコードデータL2に基づくことによって、次のレコードデータであるレコードデータL3を容易にメモリ24上で検索することができるため、処理速度が向上する。
That is, in the
なお、レコードデータL3はレコードデータリストにおいて最後のレコードデータとなる。このため、レコードリスト作成部28は、レコードデータL3が参照する次のレコードデータが存在しないことを示すターミネータを、レコードデータL3に関連づけて格納する。このようにすることによって、イベント実行部29は、レコードデータL3がレコードデータリスト内において最後のレコードデータであることを、容易に判別できる。したがって、イベント実行部29は、レコードデータリストに基づいた各データの探索を、確実に終了することができる。
The record data L3 is the last record data in the record data list. Therefore, the record
以上に説明した処理によって、レコードリスト作成部28は、レコードデータL1〜L3を含んでいる、動的リストデータであるレコードデータリストを作成する。制御用表示装置20は、このレコードデータリストに基づき、所定の処理を実行する。すなわち、制御用表示装置20のイベント実行部29が、ディスプレイ25において現在表示すべき画面を表示する。また、オペレータがタッチした部品に対応した所定の処理を実行する。
Through the processing described above, the record
このような、動的構造のレコードデータリストを作成することによって、制御用表示装置20では、以下に説明する効果を奏する。すなわち、まず、現在の画面表示に必要な部品に対応するデータを格納するためのメモリエリアのみを確保すればよいため、不要なメモリエリアを確保する必要が無く、メモリを有効に利用できる。また、メモリエリアの確保の最大数を、画面データの作成時に固定的に決定しておく必要がないため、空きのメモリエリアが存在する限り、実行内容定義データおよびレコードデータの追加を行うことができる。したがって、実行内容定義データやレコードデータの最大格納数を変更したい場合であっても、画面データまで変更する必要がない。
By creating such a record data list having a dynamic structure, the
〔画面表示〕
制御用表示装置20では、イベント実行部29が、メモリ24に格納されているレコードデータリストに基づき、所定の単位画面を表示する。そこで、図2(a)に示されている単位画面を、イベント実行部29が、レコードデータリストに基づいて表示する際の動作について説明する。
〔Screen display〕
In the
イベント実行部29は、まず、レコードデータリストに含まれる先頭のレコードデータL1に基づき、このレコードデータL1に含まれている定義データ参照アドレスAD1が参照している実行内容定義データD1を参照する。そして、イベント実行部29は、実行内容定義データD1に定義されている処理内容を実行する。例えば、実行内容定義データD1に定義されている部品画像の表示を実行することによって、部品S1を画面G1に表示する。
The
次に、イベント実行部29は、レコードデータL1に含まれるレコードデータ参照アドレスN1に基づき、このレコードデータ参照アドレスN1が参照しているレコードデータL2を特定する。そして、イベント実行部29は、レコードデータL2に含まれている定義データ参照アドレスAD2が参照している実行内容定義データD2を参照する。そして、イベント実行部29は、実行内容定義データD2に定義されている処理内容を実行する。例えば、実行内容定義データD1に定義されている部品画像の表示を実行することによって、部品S2を画面G1に表示する。
Next, the
次に、イベント実行部29は、レコードデータL2に含まれるレコードデータ参照アドレスN2に基づき、このレコードデータ参照アドレスN2が参照しているレコードデータL3を特定する。そして、イベント実行部29は、レコードデータL3に含まれている定義データ参照アドレスAD3が参照している実行内容定義データD3を参照する。そして、イベント実行部29は、実行内容定義データD3に定義されている処理内容を実行する。例えば、実行内容定義データD3に定義されている部品画像の表示を実行することによって、部品S3を画面G1に表示する。
Next, the
最後に、イベント実行部29は、レコードデータL3にターミネータが含まれていることを確認することによって、一連の処理を終了する。このようにして、イベント実行部29は、レコードデータリストに基づき、画面G1をディスプレイ25に表示する。このように、制御用表示装置20では、動的データ構造のレコードデータリストに基づき画面G1の表示が行われるため、画面の表示の際に不必要なタグにまでアクセスする必要があった従来装置に比べて、画面表示をより速く完了することができる。
Finally, the
〔タッチ動作に対応する処理〕
以上の処理によってディスプレイ25に表示された画面G1では、各部品S1〜S3において、オペレータによる入力(タッチ操作)を受け付けることができる。そして、制御用表示装置20では、このタッチ操作に基づき、各部品に対応した所定の処理が実行される。このとき、制御用表示装置20のイベント実行部29は、やはり、メモリ24上に動的に展開されているレコードデータリストを利用する。そこで、この場合の動作について、以下に説明する。
[Process corresponding to touch operation]
In the screen G1 displayed on the
まず、オペレータが、部品S1にタッチした場合の処理を説明する。オペレータが部品S1にタッチすると、タッチパネル26が、これを検知し、部品S1を識別するための部品識別データID1を生成して、制御部21に出力する。制御部21は、部品識別データID1を、イベント実行部29に出力する。
First, a process when the operator touches the component S1 will be described. When the operator touches the component S1, the
部品識別データID1が入力されると、イベント実行部29は、メモリ24に格納されているレコードデータリストにアクセスして、まず、最初のレコードデータL1を特定する。次に、イベント実行部29は、レコードデータL1に、部品識別データID1が関連づけられているか否かを判定する。上述したように、レコードデータL1には部品識別データID1が関連づけられている。したがって、イベント実行部29は、レコードデータL1に基づき、定義データ参照アドレスAD1が参照している実行内容定義データD1を特定する。そしてイベント実行部29は、実行内容定義データD1に定義されている所定の処理を実行する。
When the component identification data ID1 is input, the
ここで、実行内容定義データD1には、図3に示すように、部品S1がタッチされたとき、ビットをONにする処理が定義されている。これに基づき、イベント実行部29は、ビットをONにする。
Here, as shown in FIG. 3, the execution content definition data D1 defines a process of turning on a bit when the component S1 is touched. Based on this, the
次にイベント実行部29は、レコードデータL1に含まれているレコードデータ参照アドレスN1に基づき、レコードデータリストにおいて、レコードデータL1の次のレコードデータであるレコードデータL2を特定する。ここで、レコードデータL2に関連づけられている部品識別データは、部品識別データID1ではなく部品識別データID2である。したがって、イベント実行部29は、特に何の処理も行わない。
Next, the
次に、イベント実行部29は、レコードデータL2に格納されているレコードデータ参照アドレスN2に基づき、レコードデータL2の次のレコードデータであるレコードデータL3を特定する。ここで、レコードデータL3に関連づけられている部品識別データは、部品識別データID1ではなく部品識別データID3である。したがって、イベント実行部29は、特に何の処理も行わない。また、このとき、イベント実行部29は、レコードデータL3にターミネータが含まれていることを確認し、一連の動作を終了する。
Next, the
以上の処理により、イベント実行部29は、動的リスト構造を取るレコードデータリストを用いて、オペレータによって部品S1がタッチされた場合の、所定の処理を実行する。なお、部品S2や部品S3がオペレータによってタッチされた場合も、イベント実行部29は、上述したように、アドレスを順にたどることによって、レコードデータリスト内の各レコードデータを次々と探査し、タッチされた部品を特定する部品識別データが関連付けられているレコードデータを特定する。そして、イベント実行部29は、当該レコードデータから参照されている実行内容定義データに基づき、タッチされた部品に対応する所定の処理を実行する。これによって、制御用表示装置20では、部品S2がタッチされた場合、ビットがONであるならランプが表示される。また、部品S3がタッチされた場合、画面の切り替えが行われる。
Through the above processing, the
〔単位画面の切り換え〕
図2に示すように、制御用表示装置20では、単位画面を切り換えることができる。例えば、図2(b)に示す画面G2には、部品S4および部品S5が含まれている。ここで、制御用表示装置20では、画面G1から画面G2へと画面表示を切り換える際、レコードリスト作成部28が、画面データに再びアクセスして、部品S4および部品S5に対応するレコードデータリストおよび実行内容定義データを動的に生成して、メモリ24上に確保したメモリエリアに格納する。また、イベント実行部29は、レコードリスト作成部28が生成した、画面G2を表示するためのレコードデータリストに基づき、端末装置40に画面G2を表示する。また、部品S4や部品S5に対するオペレータによるタッチ操作に対応した、所定の動作を実行する。
[Switching the unit screen]
As shown in FIG. 2, the
さらに、制御用表示装置20では、単位画面を切り換えずに、その上にサブ画面を重ねて表示することもできる。例えば、図2(c)に示す画面G2には、部品S6を含むサブ画面G’1が表示されている。このとき、レコードデータリストには、上述した部品S4および部品S5にくわえて、部品S6に対応したレコードデータが追加されている。すなわち、レコードリスト作成部28は、部品S6に対応したレコードデータを作成してレコードデータリストに追加する一方、部品S6に対応した実行内容定義データを作成して、メモリ24上に確保したメモリエリアに格納する。
Further, the
そして、イベント実行部29は、レコードデータリストに基づき、部品S4の表示と、部品S6からなるサブ画面G’1の表示を、同時に端末装置40において行う。
Then, the
このように、レコードデータリストが動的な構造を取っていることから、制御用表示装置20では、表示画面の切り換えの際に必要な処理を、最低限にすることができる。例えば、従来装置のように、画面を切り換えるたびに、画面データ内の全てのタグにアクセスする必要が生じない。したがって、処理速度を向上し、メモリ消費量を最低限に抑えることができる。
As described above, since the record data list has a dynamic structure, the
以上に説明したように、メモリ24に格納されているレコードデータリストは、動的なリスト構造を取っている。したがって、レコードデータリストにレコードデータを追加したり、あるいはレコードデータリストからレコードデータを除いたりすることを、容易かつ高速に実行できる。そこで、この具体例について、図4および図5を参照して説明する。
As described above, the record data list stored in the
〔レコードデータリストからのレコードデータの除去〕
図4は、レコードデータリストから不必要になったレコードデータを除去したことを示す図である。この図に示すように、レコードデータリストから不必要なレコードデータを除去する場合、レコードデータに含まれている、定義データ参照アドレスAD2の参照先を変更すればよい。この処理は、レコードリスト作成部28が行う。
[Removing record data from the record data list]
FIG. 4 is a diagram showing that unnecessary record data is removed from the record data list. As shown in this figure, when unnecessary record data is removed from the record data list, the reference destination of the definition data reference address AD2 included in the record data may be changed. This process is performed by the record
図4に示す例では、レコードリスト作成部28は、レコードデータリストに含まれるレコードデータL2を、レコードデータリストから除去している。このとき、レコードリスト作成部28は、レコードデータL2の前のレコードデータであるレコードデータL1に含まれる定義データ参照アドレスAD2を、レコードデータ参照アドレスN1から、レコードデータ参照アドレスN2へと変更する。
In the example shown in FIG. 4, the record
これによって、レコードデータL1が参照する次のレコードデータがレコードデータL3となり、レコードデータリストに含まれるレコードデータが、3つから2つに減少する。 As a result, the next record data referred to by the record data L1 becomes the record data L3, and the record data included in the record data list is reduced from three to two.
このとき、各レコードデータが参照する実行内容定義データには、何ら修正や削除が施されていない。このように、制御用表示装置20では、レコードデータリストが動的なリスト構造を取ることによって、レコードデータリストにおけるレコードデータの削除を極めて容易かつ短時間で実行することができる。また、各実行内容定義データはメモリ24内の別々のメモリエリアに格納されており、連続していない。これにより、各実行内容定義データへの誤ったデータアクセスが行われる可能性が極めて低いため、実行内容定義データの破壊をより防止しやすいなど、データをより安全に管理かつ更新することができる。
At this time, the execution content definition data referred to by each record data is not modified or deleted at all. As described above, in the
〔レコードデータリストへのレコードデータの追加〕
レコードデータリストに新たなレコードデータを追加する例について、図5を参照して説明する。図5は、レコードデータリストに新たなレコードデータを追加したことを示す図である。この図に示すように、レコードデータリストに新たなレコードデータを追加する場合、最後のレコードデータに含まれているターミネータを、新たなレコードデータを参照している定義データ参照アドレスAD2に置き換えればよい。この処理もレコードリスト作成部28が行う。
[Adding record data to the record data list]
An example of adding new record data to the record data list will be described with reference to FIG. FIG. 5 is a diagram showing that new record data has been added to the record data list. As shown in this figure, when adding new record data to the record data list, the terminator included in the last record data may be replaced with the definition data reference address AD2 referring to the new record data. . This process is also performed by the record
すなわち、図5に示す例では、レコードリスト作成部28が、新たな実行内容定義データである実行内容定義データD4と、新たなレコードデータであるレコードデータL4を、メモリ24上にメモリエリアを確保して生成する。そして、レコードリスト作成部28は、レコードデータL4にアクセスして、その先頭アドレスを、定義データ参照アドレスAD3として抽出する。レコードリスト作成部28は、レコードデータL3に含まれるターミネータを、定義データ参照アドレスAD3に置き換える。また、レコードデータL4には、ターミネータを含める。
That is, in the example shown in FIG. 5, the record
このような処理を行うことによって、レコードデータL3は、次のレコードデータであるレコードデータL4を参照している状態になる。また、レコードデータL4は、ターミネータを含むため、レコードデータリストにおいて最後のレコードデータとなる。これにより、レコードデータリストには、最後のレコードデータとして、新たにレコードデータL4が追加される。 By performing such processing, the record data L3 is in a state of referring to the record data L4 that is the next record data. Further, since the record data L4 includes a terminator, it is the last record data in the record data list. Thereby, record data L4 is newly added to the record data list as the last record data.
この場合、レコードデータリストが動的リスト構造を取るため、レコードリスト作成部28は、新たに追加するデータの格納に必要なメモリエリアの確保と、レコードデータの一部を修正するのみで、データの追加を行うことができる。すなわち、画面表示に必要なデータが静的構造を取る場合に比べて、データの追加を容易かつ素早く行うことができる。
In this case, since the record data list has a dynamic list structure, the record
また、レコードデータリストからレコードデータを削除する場合と同様に、他の実行内容定義データに不必要なデータアクセスをする可能性が低い。したがって、各実行内容定義データをより安全に管理できる。 Further, as in the case of deleting record data from the record data list, the possibility of unnecessary data access to other execution content definition data is low. Therefore, each execution content definition data can be managed more safely.
〔端末装置40を用いた部品の追加〕
なお、レコードデータリストに対するレコードデータの追加は、制御用表示装置20にネットワーク回線を通じて接続されている端末装置40から送信されるデータを元に行う構成であってもよい。すなわち、オペレータは、端末装置40を操作して、追加すべき部品に関する部品データを作成する。端末装置40では、部品データ作成部42が、部品データを作成する。部品データ作成部42が作成した部品データは、通信部44が、制御用表示装置20の端末側通信部27に送信する。
[Addition of parts using terminal device 40]
The record data may be added to the record data list based on data transmitted from the
端末側通信部27は、受信した部品データを、制御部21を介してレコードリスト作成部28に出力する。レコードリスト作成部28は受け取った部品データに基づき、新たなレコードデータを追加し、レコードデータリストに追加する。また、レコードデータに含まれる定義データ参照アドレスによって参照される実行内容定義データを作成し、メモリ24に確保したメモリエリアに格納する。
The terminal
このような処理を行うことによって、制御用表示装置20において表示される表示画面に、新たな部品を追加することができる。このとき、画面データを始めから再設計することなく、部品を追加できる。また、他の実行内容定義データを一切変更することなく、新たな実行内容定義データを追加できる。すなわち、従来装置では、部品を一つでも追加したい場合、作画エディタ装置10において画面データを再設計する必要があり、機能拡張の柔軟性に欠ける。それに対して、本発明の制御用表示装置20では、制御用表示装置20における表示画面や制御動作の拡張を、容易かつ柔軟に行うことができる。
By performing such processing, a new component can be added to the display screen displayed on the
また、制御用表示装置20では、追加したレコードデータおよび実行内容定義データに基づき、新たな部品に対応したタグを、画面データ記憶部23に保存されている画面データに追加保存するようにしてもよい。この処理は、例えば制御部21がこの場合、画面表示の拡張が、画面データレベルで反映されることになる。
The
〔実行内容定義データの修正〕
また、制御用表示装置20では、レコードデータリストが動的リスト構造を取っていることから、各レコードデータが参照している実行内容定義データを更新しても、他の実行内容定義データやレコードデータに影響を及ぼすおそれがない。このことを利用して、制御用表示装置20では、レコードデータリストの構成を変えることなく、単位画面に表示される部品を変更することもできる。
[Modify execution definition data]
Further, in the
この例について、図6を参照して説明する。図6は、レコードデータリストに含まれるレコードデータが参照している実行内容定義データの定義内容を変更した例を示す図である。この図は、図3に示すレコードデータリストおよび各実行内容定義データのうち、実行内容定義データD2の定義内容を、「ビットON時ランプ表示」から「ビットON時ボタン表示」に変更したものである。このような実行内容定義データの更新は、レコードリスト作成部28が行う。
This example will be described with reference to FIG. FIG. 6 is a diagram illustrating an example in which the definition content of the execution content definition data referred to by the record data included in the record data list is changed. In this figure, among the record data list and the execution content definition data shown in FIG. 3, the definition content of the execution content definition data D2 is changed from “ramp display at bit ON” to “button display at bit ON”. is there. The update of the execution content definition data is performed by the record
このとき、レコードリスト作成部28は、レコードデータリスト含まれるレコードデータや、あるいは実行内容定義データD1および実行内容定義データD3に対して、何ら変更を加えることなく、実行内容定義データD2のみを更新している。したがって、レコードリスト作成部28は、実行内容定義データD2の更新後、レコードデータリストに基づく画面表示処理を行うことによって、通信部44に表示されているランプを、ボタンに変更することができる。
At this time, the record
このように、制御用表示装置20では、レコードデータリストを変更することなく、画面表示を変更することができる。すなわち、画面表示を変更する際の処理を、静的構造のデータに利用する従来装置に比べて、大幅に速く完了することができる。
As described above, the
なお、上述したレコードリスト作成部28は、レコードデータリストを作成する際、タグに定義されている部品を識別するための部品識別データと、所定の処理内容を定義している実行内容定義データと、次のレコードデータ(他の参照すべきレコードデータ)を参照しているレコードデータ参照アドレスとを互いに関連づけて、1つのレコードデータを作成してもよい。すなわち、レコードリスト作成部28は、実行内容定義データとレコードデータ参照アドレスとが一体化されているレコードデータを作成してもよい。この場合も、レコードリスト作成部28は、複数のレコードデータを組み合わせてレコードデータリストを作成する。
The record
このような、実行内容定義データとレコードデータ参照アドレスとが一体化され、実行内容定義データそのものが動的リスト構造に組み込まれているレコードデータリストに基づいても、制御用表示装置20では、上述した効果と同様の効果を得ることができる。
Even if the execution content definition data and the record data reference address are integrated, and the execution content definition data itself is incorporated in the dynamic list structure, the
〔表示制御プログラムおよび記録媒体〕
また、上述した各部材は、いずれも機能ブロックである。したがって、これらの部材は、CPUなどの演算手段が、図示しない記憶部に格納されたプログラムを実行し、図示しない入出力回路などの周辺回路を制御することによって、実現される。
[Display control program and recording medium]
Moreover, each of the members described above is a functional block. Therefore, these members are realized by a calculation unit such as a CPU executing a program stored in a storage unit (not shown) and controlling peripheral circuits such as an input / output circuit (not shown).
したがって、本発明の目的は、上述した機能を実現するソフトウェアである表示制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータによって読み取り可能に記録した記録媒体を、制御用表示装置20に供給し、この制御用表示装置20に備えられるコンピュータ(またはCPUやMPU、DSP)が、記録媒体に記録されているプログラムコードを読み出し実行することによって、達成可能である。
Accordingly, an object of the present invention is to provide a control display for a recording medium in which program codes (execution format program, intermediate code program, source program) of a display control program, which is software that realizes the functions described above, are recorded so as to be readable by a computer This can be achieved by the computer (or CPU, MPU, DSP) provided to the
この場合、記録媒体から読み出されたプログラムコード自体が、上述した機能を実現することになり、そのプログラムコードを記録した記録媒体は、本発明を構成することになる。具体的には、制御用表示装置20は、記憶部(図示せず)に格納された所定の表示制御プログラムを、図示しない演算手段(マイクロプロセッサ等)が実行することにより実現される。
In this case, the program code itself read from the recording medium realizes the above-described function, and the recording medium on which the program code is recorded constitutes the present invention. Specifically, the
一方で、上述した各部材は、上述したソフトウェアと同様の処理を行う回路等のハードウェアとして実現してもよい。この場合、本発明の目的は、ハードウェアである制御用表示装置20によって達成されることになる。
On the other hand, each member described above may be realized as hardware such as a circuit that performs the same processing as the software described above. In this case, the object of the present invention is achieved by the
また、演算手段は、単体の構成であってもよい。あるいは、制御用表示装置20の内部にあるバスや各種の通信路を介して接続された複数の演算手段が、表示制御プログラムのコードを協同して実行する構成であってもよい。
Further, the calculation means may have a single configuration. Or the structure which the some calculating means connected via the bus | bath in the inside of the
ここで、演算手段によって直接的に実行可能なプログラムコードそのもの、または、後述する解凍などの処理によってプログラムコードを生成可能な、データとしてのプログラムは、これらのプログラムまたはデータを記録媒体に格納し、この記録媒体を配布したり、あるいは、プログラムを、有線または無線の通信路を介して伝送するための通信ネットワークによって送信したりして配布したりすることによって、演算手段で実行されるものとする。 Here, the program code itself that can be directly executed by the computing means, or the program as data that can generate the program code by processing such as decompression described later, stores these programs or data in a recording medium, The recording medium is distributed, or the program is transmitted by a communication network for transmission via a wired or wireless communication path and distributed by the computing means. .
このとき、通信ネットワークとしては、特に限定されず、具体的には、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体(通信路)としては、特に限定されず、具体的には、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。 At this time, the communication network is not particularly limited, and specifically, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile body Communication networks, satellite communication networks, etc. can be used. Further, the transmission medium (communication path) constituting the communication network is not particularly limited, and specifically, IrDA or a remote control may be used even with a wired line such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line or the like. It is also possible to use wireless such as infrared, Bluetooth, 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network.
なお、表示制御プログラムを配布する際の記録媒体は、取り外し可能であることが好ましい。しかし、表示制御プログラムを配布した後の記録媒体は、取り外し可能であるか否かを問わない。また、記録媒体は、プログラムが記録されている媒体であれば、書き換え(書き込み)可能か否か、あるいは揮発性か否かは問われず、また、記録方法および形状も問われない。 Note that it is preferable that the recording medium for distributing the display control program is removable. However, it does not matter whether the recording medium after the display control program is distributed is removable. Further, as long as the recording medium is a medium in which a program is recorded, it does not matter whether it is rewritable (writeable) or volatile, and the recording method and shape are not questioned.
このような記録媒体を例示すると、磁気テープやカセットテープなどのテープ、フロッピー(登録商標)ディスクやハードディスクなどの磁気ディスク、CD−ROMや光磁気ディスク(MO)、ミニディスク(MD)、デジタルビデオディスク(DVD)などのディスクなどである。また、プログラムが格納される記録媒体は、ICカードや光カードのようなカード、あるいは、マスクROMやEPROM、EEPROMまたはフラッシュROMなどの半導体メモリであってもよい。あるいは、CPUなどの演算手段内に形成されるメモリであってもよい。 Examples of such recording media include tapes such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks and hard disks, CD-ROMs, magneto-optical disks (MO), mini-discs (MD), and digital video. A disk such as a disk (DVD). The recording medium for storing the program may be a card such as an IC card or an optical card, or a semiconductor memory such as a mask ROM, EPROM, EEPROM, or flash ROM. Alternatively, it may be a memory formed in a calculation means such as a CPU.
なお、プログラムコードを記録媒体から読み出して主記憶に格納するためのプログラム、および、通信ネットワークからプログラムコードをダウンロードするためのプログラムは、コンピュータによって実行可能にあらかじめ装置に格納されているものとする。 It is assumed that a program for reading the program code from the recording medium and storing it in the main memory and a program for downloading the program code from the communication network are stored in advance in the apparatus so as to be executable by a computer.
また、プログラムコードは、上述した各処理の全手段を演算手段へ指示するコードであればよい。あるいは、プログラムコードは、所定の手順で呼び出すことによって、各処理の一部または全部を実行可能な基本プログラム(例えば、オペレーティングシステムやライブラリなど)がすでに存在していれば、この基本プログラムの呼び出しを、演算手段へ指示するコードやポインタなどによって、全手順の一部または全部を置き換えてもよい。 The program code may be any code that instructs all means of each process described above to the arithmetic means. Alternatively, if a basic program (for example, an operating system or a library) that can execute part or all of each process already exists by calling the program code in a predetermined procedure, the calling of the basic program is performed. A part or all of the whole procedure may be replaced by a code or a pointer for instructing the arithmetic means.
また、記録媒体に表示制御プログラムを格納する際の形式は、例えば、実メモリに配置した状態のように、演算手段がアクセスして実行可能な格納形式であればよい。または、実メモリに配置する前において、演算手段が常時アクセス可能なローカルな記録媒体(例えば、実メモリやハードディスクなど)にインストールした後の格納形式や、あるいは、通信ネットワークや搬送可能な記録媒体などから、ローカルな記録媒体にインストールする前の格納形式であってもよい。 In addition, the format for storing the display control program in the recording medium may be any storage format that can be accessed and executed by the computing means, for example, in a state of being arranged in the real memory. Or the storage format after installation in a local recording medium (for example, a real memory or a hard disk) that is always accessible by the computing means before being placed in the real memory, or a communication network or a transportable recording medium Therefore, it may be a storage format before being installed on a local recording medium.
また、表示制御プログラムは、コンパイルされた後のオブジェクトコードに限るものではなく、ソースコードや、インタプリトまたはコンパイルの途中で生成される中間コードとして、記録媒体に格納されていてもよい。いずれの場合であっても、圧縮された情報の解凍、符号化された情報の復元、インタプリト、コンパイル、リンク、または、実メモリへの配置などの処理、あるいは、これらの処理の組み合わせによって、中間コードを演算手段が実行可能な形式に変換可能であれば、表示制御プログラムを記録媒体に格納する際の形式にかかわらず、同様の効果を得ることができる。 Further, the display control program is not limited to the object code after being compiled, but may be stored in the recording medium as source code or intermediate code generated during interpretation or compilation. In any case, intermediate processing can be performed by decompressing the compressed information, decompressing the encoded information, interpreting, compiling, linking, or placing in real memory, or a combination of these processes. If the code can be converted into a format that can be executed by the computing means, the same effect can be obtained regardless of the format in which the display control program is stored in the recording medium.
なお、本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても、本発明の技術的範囲に含まれる。 In addition, this invention is not limited to embodiment mentioned above, A various change is possible in the range shown to the claim. In other words, embodiments obtained by combining technical means appropriately changed within the scope of the claims are also included in the technical scope of the present invention.
本発明は、プログラマブル表示装置など、ターゲットシステムにおいて動作するデバイスの状態表示や制御を行う制御用表示装置として利用可能である。 The present invention can be used as a control display device that performs status display and control of devices operating in a target system such as a programmable display device.
10 作画エディタ装置
12 作画処理部
14 通信部
20 制御用表示装置
21 制御部
22 作画エディタ側通信部(作画エディタ側通信手段)
23 画面データ記憶部(画面データ記憶手段)
24 メモリ(記憶部)
25 ディスプレイ
26 タッチパネル
27 端末側通信部
28 レコードリスト作成部(レコードデータ作成手段、レコードリスト作成手段、保存手段)
29 イベント実行部(処理実行手段)
30 PLC側通信部
40 端末装置
42 部品データ作成部
44 通信部
50 PLC
60 デバイス
DESCRIPTION OF
23 Screen data storage unit (screen data storage means)
24 Memory (storage unit)
25
29 Event execution part (process execution means)
30 PLC
60 devices
Claims (6)
上記領域識別データと、所定の処理内容を定義している実行内容定義データを参照している定義データ参照アドレスと、他の参照すべきレコードデータを参照しているレコードデータ参照アドレスとが互いに関連づけられているレコードデータが複数組み合わされて構成されているレコードデータリストを記録している記憶部と、
上記領域識別データおよび上記レコードデータリストに基づき、上記領域入力手段が受け付けた領域に対応づけられている上記実行内容定義データを特定して、この実行内容定義データに定義されている所定の処理を実行する処理実行手段とを備えていることを特徴とする制御用表示装置。 On a display screen composed of a plurality of areas, an area input means for receiving input to any area and outputting area identification data for identifying the received area;
The area identification data, the definition data reference address that refers to the execution content definition data that defines the predetermined processing content, and the record data reference address that refers to other record data to be referenced are associated with each other. A storage unit that records a record data list composed of a combination of a plurality of record data,
Based on the area identification data and the record data list, the execution content definition data associated with the area received by the area input means is specified, and a predetermined process defined in the execution content definition data is performed. A control display device comprising processing execution means for executing the control display device.
上記実行内容定義データに基づき、この実行内容定義データを参照する定義データ参照アドレスを含むレコードデータを作成するレコードデータ作成手段と、
上記レコードデータを、上記レコードデータリストに追加するレコードデータ追加手段とをさらに備えていることを特徴とする請求項1に記載の制御用表示装置。 Terminal-side communication means for receiving the execution content definition data from an external terminal device;
Based on the execution content definition data, record data creation means for creating record data including a definition data reference address for referring to the execution content definition data;
The control display device according to claim 1, further comprising record data adding means for adding the record data to the record data list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004322617A JP2006133516A (en) | 2004-11-05 | 2004-11-05 | Display device for control, display control program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004322617A JP2006133516A (en) | 2004-11-05 | 2004-11-05 | Display device for control, display control program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006133516A true JP2006133516A (en) | 2006-05-25 |
Family
ID=36727123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004322617A Pending JP2006133516A (en) | 2004-11-05 | 2004-11-05 | Display device for control, display control program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006133516A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011006046A1 (en) | 2010-03-26 | 2011-09-29 | Honda Motor Co., Ltd. | Oil storage device and having this motor |
-
2004
- 2004-11-05 JP JP2004322617A patent/JP2006133516A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011006046A1 (en) | 2010-03-26 | 2011-09-29 | Honda Motor Co., Ltd. | Oil storage device and having this motor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111552473B (en) | Application processing method, device and equipment | |
US6907610B2 (en) | System and method for building a target operating system from a source operating system | |
JPWO2004079583A1 (en) | Data transfer control device and DMA data transfer control method | |
JP2011134293A (en) | Data control device and program | |
KR20010070416A (en) | Computer | |
TWI430283B (en) | Data processing and addressing methods for use in an electronic apparatus and electronic apparatus | |
CN107168738A (en) | A kind of management method of application tool, device, equipment and storage medium | |
US11526363B2 (en) | Electronic apparatus and control method thereof | |
US6407758B1 (en) | Screen forming editor | |
JP2013084112A (en) | Programmable controller system, programming device thereof, programmable controller, program and debug method | |
JP2006133516A (en) | Display device for control, display control program, and recording medium | |
JP2005301520A (en) | Programming system | |
JP2007094724A (en) | Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program | |
US20070011440A1 (en) | Processor and processing method | |
CN113348440B (en) | Drawing assistance device, display device, drawing assistance method, and computer program | |
JP2004234634A (en) | Compiler program, computer-readable storage medium recording the compiler program, compile method and compile device | |
JPH11338519A (en) | Programmable controller, and device and method for supporting program preparation | |
JP2009157441A (en) | Information processor, file rearrangement method, and program | |
JP2015191272A (en) | Execution control method, execution control program, and execution control device | |
JP4455231B2 (en) | Information processing apparatus, program thereof, and recording medium | |
JP4690824B2 (en) | Hierarchical structure display device, hierarchical structure display method, program, and recording medium | |
JP6639238B2 (en) | Programs and computers | |
JPH0954688A (en) | Gui design supporting method | |
KR20000003162A (en) | Effective operation method of flash memory | |
CN117093225A (en) | Code file compiling method, system updating method, device, server and equipment |