JP2006133516A - Display device for control, display control program, and recording medium - Google Patents

Display device for control, display control program, and recording medium Download PDF

Info

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
Application number
JP2004322617A
Other languages
Japanese (ja)
Inventor
Masakata Ueda
眞方 植田
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
Digital Electronics Corp
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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2004322617A priority Critical patent/JP2006133516A/en
Publication of JP2006133516A publication Critical patent/JP2006133516A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To manage data necessary for screen display efficiently on a memory. <P>SOLUTION: In the memory 24, a record data list is recorded, and a plurality of record data are combined to constitute the record data list. In the record data, component identification data for receiving input to any of a plurality of areas constituting a display screen and identifying the area where the input is received, a definition data referring address AD 1 referring to execution content defining data defining prescribed content of processing, and definition data referring address AD 2 referring to other record data to be referred to are correlated to each other. An event execution section 29, based on the component identification data and the record data list, specifies execution content definition data being made to correspond to the inputted area and executes a prescribed processing defined in the execution content definition data. Thus, the data necessary for screen display is efficiently managed on the memory, and the processing such as screen display can be executed at high speed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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がある。
特開平10−333830号公報(公開日:平成10年(1998年)12月18日)
Here, in such a control system, in many cases, an operation screen is displayed on a graphic operation panel based on so-called screen data created by a user using a drawing editor device. Such screen data normally has a static data structure in which a plurality of definition data called tags are continuously stored. For example, there is Patent Document 1 as a document disclosing such a static data structure.
Japanese Patent Laid-Open No. 10-333830 (Publication date: December 18, 1998)

しかし、従来の装置では、画面データが静的なデータ構造を取っていることが原因となり、以下に示すような問題が生じている。   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 device 60 provided in the target system. This control system is suitably used for controlling the device 60 such as a belt conveyor type automatic assembly machine. In the following, prior to describing the control display device 20 of the present invention, first, the entire configuration of the control system including the control display device 20 will be described in detail.

〔制御システム〕
図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 control display device 20 according to an embodiment of the present invention. As shown in this figure, the control system according to the present invention has a configuration comprising a drawing editor device 10, a control display device 20, a terminal device 40, a PLC 50, and a device 60.

〔作画エディタ装置10〕
作画エディタ装置10は、制御用表示装置20において画面表示に使用される画面データを作成するための装置である。この作画エディタ装置10は、作画処理部12および通信部14を備えている。オペレータは、専用のエディタソフトウェアを用い、画面上でスイッチやランプなどの各部品画像を組み合わせることによって、表示画面を作成する。このとき、作画処理部12は、オペレータが作成した画面に基づき、この画面を表示するために制御用表示装置20が用いる画面データを生成する。また、通信部14は、作画処理部12が生成した画面データを、制御用表示装置20の作画エディタ側通信部22に送信する。
[Screen Editor 10]
The drawing editor device 10 is a device for creating screen data used for screen display in the control display device 20. The drawing editor apparatus 10 includes a drawing processing unit 12 and a communication unit 14. The operator creates a display screen by combining individual component images such as switches and lamps on the screen using dedicated editor software. At this time, the drawing processing unit 12 generates screen data used by the control display device 20 to display the screen based on the screen created by the operator. Further, the communication unit 14 transmits the screen data generated by the drawing processing unit 12 to the drawing editor side communication unit 22 of the control display device 20.

〔PLC50、デバイス60〕
PLC50は、デバイス60を制御する制御装置である。デバイス60として、ターゲットシステムに備えられる各種スイッチやランプ等がある。これらのデバイスは、何らかのデバイスアドレスにより、制御用表示装置20によって特定されることが可能なものであれば、任意のものでかまわない。例えば、デバイスは、デバイス60自体であってもよいし、PLC50や、制御用表示装置20に装着されている記憶装置など、制御システムに設けられている記憶装置の一領域であってもよい。
[PLC50, device 60]
The PLC 50 is a control device that controls the device 60. Examples of the device 60 include various switches and lamps provided in the target system. These devices may be arbitrary as long as they can be specified by the control display device 20 by some device address. For example, the device may be the device 60 itself, or may be an area of a storage device provided in the control system such as the PLC 50 or a storage device mounted on the control display device 20.

〔制御用表示装置20〕
制御用表示装置20は、デバイス60の状態を表示し、オペレータによるデバイス60への操作を受け付け、デバイス60を制御する指示を、PLC50に出力する。このとき、制御用表示装置20は、作画エディタ装置10において生成された画面データに基づき、液晶ディスプレイ等によって構成されるディスプレイ25上に、各デバイス60等を表す部品画像を表示する。オペレータが制御用表示装置20を操作し、端末装置40に表示されている各部品画像を押下する(タッチする)することによって、制御用表示装置20では、デバイス60への制御指示や、別の画面への表示切り替えなどが行われる。
[Control Display Device 20]
The control display device 20 displays the state of the device 60, accepts an operation on the device 60 by an operator, and outputs an instruction to control the device 60 to the PLC 50. At this time, the control display device 20 displays a component image representing each device 60 or the like on the display 25 configured by a liquid crystal display or the like based on the screen data generated in the drawing editor device 10. When the operator operates the control display device 20 and depresses (touches) each component image displayed on the terminal device 40, the control display device 20 causes a control instruction to the device 60 or another The display is switched to the screen.

また、制御用表示装置20は、いわゆるプログラマブル表示器の一種である。すなわち、制御用表示装置20は、後述する画面データに基づいて、デバイス60を制御するためにオペレータに提供する表示画面を、ディスプレイ25上に表示する。また、ディスプレイ25においてオペレータによる入力を受け付けることによって、デバイス60を制御したり、ディスプレイ25における画面表示を更新したりする。   The control display device 20 is a kind of so-called programmable display. That is, the control display device 20 displays on the display 25 a display screen provided to the operator for controlling the device 60 based on screen data described later. In addition, by receiving an input from the operator on the display 25, the device 60 is controlled and the screen display on the display 25 is updated.

制御システムでは、図1に示すように、制御用表示装置20は、シリアルケーブルなどの通信回線を介して、各PLC50と接続されている。図1では、説明の便宜上、制御用表示装置20に接続された2台のPLC50と、各PLC50に接続されたそれぞれ1台のデバイス60とを表示している。しかし、制御用表示装置20を備えている制御システムでは、ターゲットシステムの規模に応じて、必要な数のPLC50およびデバイス60を任意に備えることができる。   In the control system, as shown in FIG. 1, the control display device 20 is connected to each PLC 50 via a communication line such as a serial cable. In FIG. 1, for convenience of explanation, two PLCs 50 connected to the control display device 20 and one device 60 connected to each PLC 50 are displayed. However, the control system including the control display device 20 can optionally include the necessary number of PLCs 50 and devices 60 according to the scale of the target system.

制御用表示装置20は、上述したように、作画エディタ装置10において作成され、制御用表示装置20に送信される画面データに基づき、画面データが表す画面を、ディスプレイ25に表示する。このとき、制御用表示装置20では、静的なデータ構造を取る画面データから、部品の画面表示に関するデータ、およびオペレータによる入力操作に対する実行内容を定義する定義データを抽出する。そして、メモリ24上に、表示画面を表示するために必要なデータを、動的なリスト構造として構築する。制御用表示装置20は、こうして構築した動的リスト構造に基づき、実際の画面表示を行ったり、オペレータがタッチした部品に対応する所定の処理を実行したりする。   As described above, the control display device 20 displays the screen represented by the screen data on the display 25 based on the screen data created in the drawing editor device 10 and transmitted to the control display device 20. At this time, the control display device 20 extracts data related to the screen display of the component and definition data defining the execution contents for the input operation by the operator from the screen data having a static data structure. Then, the data necessary for displaying the display screen is constructed on the memory 24 as a dynamic list structure. Based on the dynamic list structure thus constructed, the control display device 20 performs an actual screen display or executes a predetermined process corresponding to the component touched by the operator.

〔制御用表示装置20の詳細〕
このような特徴を有している制御用表示装置20について、図1を参照して詳細に説明する。制御用表示装置20は、図1に示すように、制御部21、作画エディタ側通信部22、画面データ記憶部23(画面データ記憶手段)、メモリ24(記憶部)、ディスプレイ25、タッチパネル26(領域入力手段)、端末側通信部27(端末側通信手段)、レコードリスト作成部28(レコードデータ作成手段、レコードリスト作成手段、レコードデータ追加手段)、イベント実行部29(処理実行手段)、およびPLC側通信部30を備えている。
[Details of Control Display Device 20]
The control display device 20 having such characteristics will be described in detail with reference to FIG. As shown in FIG. 1, the control display device 20 includes a control unit 21, a drawing editor side communication unit 22, a screen data storage unit 23 (screen data storage unit), a memory 24 (storage unit), a display 25, a touch panel 26 ( Area input means), terminal side communication section 27 (terminal side communication means), record list creation section 28 (record data creation means, record list creation means, record data addition means), event execution section 29 (process execution means), and A PLC side communication unit 30 is provided.

〔制御部21〕
制御部21は、制御用表示装置20内に備えられている各部材を統括的に制御する。例えば、作画エディタ側通信部22が受信した画面データを、画面データ記憶部23に格納する。
[Control unit 21]
The control unit 21 comprehensively controls each member provided in the control display device 20. For example, the screen data received by the drawing editor side communication unit 22 is stored in the screen data storage unit 23.

〔作画エディタ側通信部22〕
作画エディタ側通信部22は、作画エディタ装置10から送信された画面データを受信し、制御部21に出力する。
[Graphic editor side communication unit 22]
The drawing editor side communication unit 22 receives the screen data transmitted from the drawing editor device 10 and outputs the screen data to the control unit 21.

〔画面データ記憶部23〕
画面データ記憶部23は、PLC側通信部30を通じて受信した画面データを格納している。
[Screen Data Storage Unit 23]
The screen data storage unit 23 stores screen data received through the PLC side communication unit 30.

〔メモリ24〕
メモリ24は、後述するレコードリスト作成部28が生成したレコードデータリストを記憶している。
[Memory 24]
The memory 24 stores a record data list generated by a record list creation unit 28 described later.

〔ディスプレイ25〕
ディスプレイ25は、表示画面を表示する。このディスプレイ25に表示されている部品画像にオペレータがタッチすることによって、制御用表示装置20では、各部品に対応付けられている所定の処理が実行される。この詳細については、後述する。
[Display 25]
The display 25 displays a display screen. When the operator touches the component image displayed on the display 25, the control display device 20 executes a predetermined process associated with each component. Details of this will be described later.

〔タッチパネル26〕
タッチパネル26は、複数の部品(領域)によって構成される表示画面において、いずれかの部品へのオペレータによる入力を受け付け、当該受け付けた部品を識別する部品識別データ(領域識別データ)を出力する。すなわち、タッチパネル26は、ディスプレイ25において表示されている表示画面内のいずれかの部品への、オペレータによるタッチ動作を検出する。この後、タッチパネル26は、オペレータがタッチした部品を特定する部品識別データを出力する。
[Touch panel 26]
The touch panel 26 receives an input by an operator to any of the components on a display screen including a plurality of components (regions), and outputs component identification data (region identification data) for identifying the received components. That is, the touch panel 26 detects a touch operation by an operator on any part in the display screen displayed on the display 25. Thereafter, the touch panel 26 outputs component identification data for specifying the component touched by the operator.

〔端末側通信部27〕
端末側通信部27は、端末装置40から送信された部品データを受信し、制御部21に出力する。この詳細については、後述する。
[Terminal side communication unit 27]
The terminal-side communication unit 27 receives the component data transmitted from the terminal device 40 and outputs it to the control unit 21. Details of this will be described later.

〔レコードリスト作成部28〕
レコードリスト作成部28は、画面データに基づき、後述するレコードデータリストを生成する。レコードリスト作成部28がどのようにレコードデータリストを生成するかについての詳細は、後述する。また、レコードリスト作成部28は、端末側通信部27が受信した部品データに基づき、レコードデータリストに新たに追加するレコードデータや、このレコードデータによって参照されている実行内容定義データを生成する。この処理の詳細についても、後述する。
[Record list creation unit 28]
The record list creation unit 28 generates a record data list to be described later based on the screen data. Details of how the record list creation unit 28 generates the record data list will be described later. The record list creation unit 28 generates record data to be newly added to the record data list and execution content definition data referenced by the record data based on the component data received by the terminal side communication unit 27. Details of this processing will also be described later.

〔イベント実行部29〕
イベント実行部29は、部品識別データおよびレコードデータリストに基づき、オペレータがタッチした領域に対応する実行内容定義データを特定して、この実行内容定義データに定義されている所定の処理を実行する。
[Event execution unit 29]
The event execution unit 29 specifies execution content definition data corresponding to the area touched by the operator based on the component identification data and the record data list, and executes predetermined processing defined in the execution content definition data.

〔PLC側通信部30〕
PLC側通信部30は、通信回線を通じてPLC50とやり取りし、イベント実行部29が実行した所定の処理内容に基づく、デバイス60に対する制御内容をPLC50に送信する。また、PLC50から、デバイス60の状態を示すデータを受信する。
[PLC side communication unit 30]
The PLC-side communication unit 30 communicates with the PLC 50 through a communication line, and transmits the control content for the device 60 based on the predetermined processing content executed by the event execution unit 29 to the PLC 50. Further, data indicating the state of the device 60 is received from the PLC 50.

〔画面データ〕
作画処理部12において生成され、制御用表示装置20に送信される画面データは、画面上の領域と、各領域への表示や入力に対応するデバイス60との対応関係を示すタグが組み合わされて構成されている。この画面データを利用することによって、制御用表示装置20は、複数の単位画面を切り換えて表示することができる。また、タグは、このタグが有効となる単位画面を示すファイル番号と、単位画面上で実行すべき処理内容を特定する事象名と、事象ごとに参照される参照情報とを含んでいる。このようなタグからなる画面データは、複数のタグが連続して並んでいる、静的なデータ構造を取っている。
[Screen data]
The screen data generated in the drawing processing unit 12 and transmitted to the control display device 20 is a combination of a tag indicating the correspondence between the area on the screen and the device 60 corresponding to display or input in each area. It is configured. By using this screen data, the control display device 20 can switch and display a plurality of unit screens. In addition, the tag includes a file number indicating a unit screen in which the tag is valid, an event name that specifies processing content to be executed on the unit screen, and reference information that is referenced for each event. The screen data composed of such tags has a static data structure in which a plurality of tags are continuously arranged.

〔レコードデータリスト〕
レコードリスト作成部28は、静的構造の画面データに基づき、動的なリスト型データ構造を取る、レコードデータリストを作成する。例えば、レコードリスト作成部28は、タグに定義されている部品を識別するための部品識別データと、所定の処理内容を定義している実行内容定義データを参照している定義データ参照アドレスと、次のレコードデータ(他の参照すべきレコードデータ)を参照しているレコードデータ参照アドレスとを互いに関連づけて、1つのレコードデータを生成する。そして、レコードリスト作成部28は、複数のレコードデータを組み合わせて、レコードデータリストを生成する。最後に、レコードリスト作成部28は、生成したレコードデータリストを、制御部21を通じてメモリ24に保存する。
[Record Data List]
The record list creation unit 28 creates a record data list that takes a dynamic list type data structure based on the static structure screen data. For example, the record list creation unit 28, component identification data for identifying a component defined in a tag, definition data reference address that refers to execution content definition data that defines predetermined processing content, One record data is generated by associating the record data reference address referring to the next record data (other record data to be referred to) with each other. Then, the record list creating unit 28 generates a record data list by combining a plurality of record data. Finally, the record list creation unit 28 stores the generated record data list in the memory 24 through the control unit 21.

以下では、表示画面に三つの部品が表示される場合に必要なレコードデータリストをレコードリスト作成部28が作成する例について、図2および図3を参照して説明する。   Hereinafter, an example in which the record list creation unit 28 creates a record data list necessary when three parts are displayed on the display screen will be described with reference to FIGS. 2 and 3.

図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 list creation unit 28 examines each tag included in the screen data and first identifies a tag necessary for the current screen display. Then, the execution content definition data is extracted from these tags. The execution content definition data includes, for example, the type of image data of the component to be displayed, the coordinates for displaying the image, the type of operation mode such as bit / word, the address to the device 60, the constant (data to be written), etc. Predetermined processing contents and constants relating to the components constituting the display screen are defined.

〔レコードデータL1および実行内容定義データD1の生成〕
まずレコードリスト作成部28は、画面データに格納されている、第1の部品である部品S1に対応したタグに基づき、部品S1に対応したレコードデータと、このレコードデータから参照され、オペレータが部品S1にタッチした場合に実行される所定の処理を定義した実行内容定義データD1とを作成する。
[Generation of Record Data L1 and Execution Content Definition Data D1]
First, the record list creating unit 28 is referred to from the record data corresponding to the part S1 and the record data based on the tag corresponding to the part S1 which is the first part stored in the screen data, and the operator selects the part. Execution content definition data D1 that defines a predetermined process to be executed when S1 is touched is created.

このときレコードリスト作成部28は、まず、部品S1に対応したタグに定義されている、部品S1を識別する為のデータである部品識別データID1を生成する。次に、レコードリスト作成部28は、部品S1の表示や、オペレータが部品S1にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD1を作成する。すなわち、この実行内容定義データD1は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データを格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD1を格納する。   At this time, the record list creation unit 28 first generates a component identification data ID1, which is data for identifying the component S1, which is defined in the tag corresponding to the component S1. Next, the record list creation unit 28 extracts a predetermined processing content to be executed by the event execution unit 29 when the component S1 is displayed or the operator touches the component S1, and an execution content definition is performed based on the extracted information. Data D1 is created. That is, the execution content definition data D1 is a type of data that defines predetermined processing content executed by the event execution unit 29. The record list creation unit 28 secures a memory area necessary for storing the execution content definition data on the memory 24 using a dynamic memory allocation function or the like, and creates the created execution content in the reserved memory area. Stores definition data D1.

次にレコードリスト作成部28は、実行内容定義データD1を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD1と、上述した部品識別データID1とを関連づけたデータとして、レコードデータL1を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL1を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL1を格納する。   Next, the record list creation unit 28 accesses the memory area in which the execution content definition data D1 is stored, and extracts the head address. The record list creation unit 28 creates record data L1 as data in which the definition data reference address AD1 that is the extracted address is associated with the above-described component identification data ID1. In addition, the record list creating unit 28 secures a memory area for storing the record data L1 on the memory 24, and stores the record data L1 in the secured memory area.

こうして、レコードリスト作成部28は、第1の部品である部品S1に対応したレコードデータL1と、このレコードデータL1から参照されている実行内容定義データD1とを、いずれもメモリ24上に作成する。すなわち、以上の処理を行うことによって、メモリ24上では、実行内容定義データD1と、この実行内容定義データD1を参照しているレコードデータL1が、それぞれ別のメモリエリアに格納されることになる。   In this way, the record list creation unit 28 creates on the memory 24 both the record data L1 corresponding to the part S1, which is the first part, and the execution content definition data D1 referenced from the record data L1. . That is, by executing the above processing, the execution content definition data D1 and the record data L1 referring to the execution content definition data D1 are stored in different memory areas on the memory 24, respectively. .

〔レコードデータ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 list creation unit 28 records the record data L2 corresponding to the part S2 and the record based on the tag corresponding to the part S2 being the second part stored in the screen data. Execution content definition data D2 that defines a predetermined process that is referred to from the data L2 and that is executed when the operator touches the component S2 is created.

このときレコードリスト作成部28は、まず、部品S2に対応したタグに定義されている、部品S2を識別する為のデータである部品識別データID2を生成する。次に、レコードリスト作成部28は、部品S2の表示や、オペレータが部品S2にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD2を作成する。すなわち、この実行内容定義データD2は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データD2を格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD2を格納する。   At this time, the record list creation unit 28 first generates a component identification data ID2, which is data for identifying the component S2, which is defined in the tag corresponding to the component S2. Next, the record list creation unit 28 extracts a predetermined processing content to be executed by the event execution unit 29 when the component S2 is displayed or when the operator touches the component S2, and defines an execution content based on the extracted information. Data D2 is created. That is, the execution content definition data D2 is a type of data that defines predetermined processing content executed by the event execution unit 29. Then, the record list creating unit 28 secures a memory area necessary for storing the execution content definition data D2 on the memory 24 using a dynamic memory securing function or the like, and creates the created execution area in the secured memory area. Stores the content definition data D2.

次にレコードリスト作成部28は、実行内容定義データD2を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD2と、上述した部品識別データID2とを関連づけたデータとして、レコードデータL2を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL2を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL2を格納する。   Next, the record list creation unit 28 accesses the memory area in which the execution content definition data D2 is stored, and extracts the head address. The record list creation unit 28 creates record data L2 as data in which the definition data reference address AD2 that is the extracted address is associated with the above-described component identification data ID2. Further, the record list creating unit 28 secures a memory area for storing the record data L2 on the memory 24, and stores the record data L2 in the secured memory area.

こうしてレコードリスト作成部28は、第2の部品である部品S2に対応したレコードデータL2と、このレコードデータL2から参照されている実行内容定義データD2とを、メモリ24上に作成する。すなわち、以上の処理を行うことによって、メモリ24上では、実行内容定義データD2と、この実行内容定義データD2を参照しているレコードデータL2が、それぞれ別のメモリエリアに格納されることになる。   Thus, the record list creating unit 28 creates on the memory 24 record data L2 corresponding to the part S2, which is the second part, and execution content definition data D2 referenced from the record data L2. That is, by executing the above processing, the execution content definition data D2 and the record data L2 referring to the execution content definition data D2 are stored in different memory areas on the memory 24, respectively. .

さらに、レコードリスト作成部28は、メモリ24においてレコードデータL2を格納しているメモリエリアにアクセスし、その先頭アドレスを抽出する。そして、レコードリスト作成部28は、当該抽出したアドレスをレコードデータ参照アドレスN1として、レコードデータL1内に格納する。このような処理を行うことによって、レコードデータL1は、内部の定義データ参照アドレスAD1によって実行内容定義データD1を参照すると同時に、レコードデータ参照アドレスN1によって、次のレコードデータであるレコードデータL2をも参照することになる。   Further, the record list creation unit 28 accesses the memory area storing the record data L2 in the memory 24, and extracts the head address. Then, the record list creation unit 28 stores the extracted address as the record data reference address N1 in the record data L1. By performing such processing, the record data L1 refers to the execution content definition data D1 by the internal definition data reference address AD1, and at the same time stores the record data L2 as the next record data by the record data reference address N1. Will refer to it.

以上のよう処理が行われることによって、レコードリスト作成部28が生成するレコードデータおよびレコードデータリストは、次に示す様な構成を取ることになる。すなわち、レコードデータは、部品識別データと、所定の処理内容を定義している実行内容定義データのうち、他のいずれの定義データ参照アドレスによっても参照されていない1つの実行内容定義データを参照している定義データ参照アドレスと、他のレコードデータのうち、他のいずれのレコードデータ参照アドレスによっても参照されていない1つのレコードデータを参照するレコードデータ参照アドレスとが、互いに関連づけられて構成されている。これにより、レコードデータリストは、このようなレコードデータが、複数、組み合わされて構成されていることになる。   By performing the processing as described above, the record data and the record data list generated by the record list creation unit 28 have the following configuration. That is, the record data refers to one piece of execution content definition data that is not referenced by any other definition data reference address among the component identification data and the execution content definition data defining the predetermined processing content. The definition data reference address and the record data reference address that references one record data that is not referenced by any other record data reference address among other record data are associated with each other. Yes. As a result, the record data list is configured by combining a plurality of such record data.

制御用表示装置20では、イベント実行部29が、レコードデータL1に基づくことによって、レコードデータL1の次のレコードデータであるレコードデータL2をメモリ24上で容易に検索することができるため、処理速度が向上する。   In the control display device 20, the event execution unit 29 can easily search the memory 24 for record data L2, which is the next record data of the record data L1, based on the record data L1, so that the processing speed Will improve.

〔レコードデータ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 list creation unit 28 records the record data L3 corresponding to the part S3 based on the tag corresponding to the part S3 that is the third part stored in the screen data. And execution content definition data D3 that defines a predetermined process that is referred to from the record data L3 and that is executed when the operator touches the component S3.

このときレコードリスト作成部28は、まず、部品S3に対応したタグに定義されている、部品S3を識別する為のデータである部品識別データID3を生成する。次に、レコードリスト作成部28は、部品S3の表示や、オペレータが部品S3にタッチした場合にイベント実行部29が実行する所定の処理内容を抽出し、これらの抽出した情報に基づき実行内容定義データD3を作成する。すなわち、この実行内容定義データD3は、イベント実行部29が実行する所定の処理内容を定義したデータの一種である。そしてレコードリスト作成部28は、実行内容定義データD3を格納するために必要なメモリエリアを、動的メモリ確保関数等を用いてメモリ24上に確保し、当該確保したメモリエリアに、作成した実行内容定義データD3を格納する。   At this time, the record list creation unit 28 first generates a component identification data ID3, which is data for identifying the component S3, which is defined in the tag corresponding to the component S3. Next, the record list creation unit 28 extracts a predetermined processing content to be executed by the event execution unit 29 when the component S3 is displayed or the operator touches the component S3, and an execution content definition is performed based on the extracted information. Data D3 is created. In other words, the execution content definition data D3 is a type of data defining predetermined processing content executed by the event execution unit 29. Then, the record list creating unit 28 secures a memory area necessary for storing the execution content definition data D3 on the memory 24 using a dynamic memory securing function or the like, and creates the created execution area in the secured memory area. The content definition data D3 is stored.

次にレコードリスト作成部28は、実行内容定義データD3を格納したメモリエリアにアクセスし、その先頭アドレスを抽出する。レコードリスト作成部28は、この抽出したアドレスである定義データ参照アドレスAD3と、上述した部品識別データID3とを関連づけたデータとして、レコードデータL3を作成する。また、レコードリスト作成部28は、メモリ24上にレコードデータL3を格納するためのメモリエリアを確保して、当該確保したメモリエリアにレコードデータL3を格納する。   Next, the record list creation unit 28 accesses the memory area in which the execution content definition data D3 is stored, and extracts the head address. The record list creation unit 28 creates record data L3 as data in which the definition data reference address AD3, which is the extracted address, is associated with the above-described component identification data ID3. Further, the record list creation unit 28 secures a memory area for storing the record data L3 on the memory 24, and stores the record data L3 in the secured memory area.

次に、レコードリスト作成部28は、メモリ24においてレコードデータL3を格納しているメモリエリアにアクセスし、その先頭アドレスを抽出する。そして、レコードリスト作成部28は、当該抽出したアドレスをレコードデータ参照アドレスN2として、レコードデータL2内に格納する。このような処理を行うことによって、レコードデータL2は、内部の定義データ参照アドレスAD2によって実行内容定義データD2を参照すると同時に、レコードデータ参照アドレスN2によって、次のレコードデータであるレコードデータL3をも参照することになる。   Next, the record list creation unit 28 accesses the memory area storing the record data L3 in the memory 24, and extracts the head address. Then, the record list creation unit 28 stores the extracted address as the record data reference address N2 in the record data L2. By performing such processing, the record data L2 refers to the execution content definition data D2 by the internal definition data reference address AD2, and at the same time stores the record data L3 as the next record data by the record data reference address N2. Will refer to it.

すなわち、制御用表示装置20では、イベント実行部29が、レコードデータL2に基づくことによって、次のレコードデータであるレコードデータL3を容易にメモリ24上で検索することができるため、処理速度が向上する。   That is, in the control display device 20, the event execution unit 29 can easily search the record data L3, which is the next record data, on the memory 24 based on the record data L2, thereby improving the processing speed. To do.

なお、レコードデータL3はレコードデータリストにおいて最後のレコードデータとなる。このため、レコードリスト作成部28は、レコードデータL3が参照する次のレコードデータが存在しないことを示すターミネータを、レコードデータL3に関連づけて格納する。このようにすることによって、イベント実行部29は、レコードデータL3がレコードデータリスト内において最後のレコードデータであることを、容易に判別できる。したがって、イベント実行部29は、レコードデータリストに基づいた各データの探索を、確実に終了することができる。   The record data L3 is the last record data in the record data list. Therefore, the record list creation unit 28 stores a terminator indicating that there is no next record data referred to by the record data L3 in association with the record data L3. By doing so, the event execution unit 29 can easily determine that the record data L3 is the last record data in the record data list. Therefore, the event execution unit 29 can reliably end the search for each data based on the record data list.

以上に説明した処理によって、レコードリスト作成部28は、レコードデータL1〜L3を含んでいる、動的リストデータであるレコードデータリストを作成する。制御用表示装置20は、このレコードデータリストに基づき、所定の処理を実行する。すなわち、制御用表示装置20のイベント実行部29が、ディスプレイ25において現在表示すべき画面を表示する。また、オペレータがタッチした部品に対応した所定の処理を実行する。   Through the processing described above, the record list creation unit 28 creates a record data list that is dynamic list data including the record data L1 to L3. The control display device 20 executes a predetermined process based on the record data list. That is, the event execution unit 29 of the control display device 20 displays a screen to be displayed on the display 25. Further, predetermined processing corresponding to the part touched by the operator is executed.

このような、動的構造のレコードデータリストを作成することによって、制御用表示装置20では、以下に説明する効果を奏する。すなわち、まず、現在の画面表示に必要な部品に対応するデータを格納するためのメモリエリアのみを確保すればよいため、不要なメモリエリアを確保する必要が無く、メモリを有効に利用できる。また、メモリエリアの確保の最大数を、画面データの作成時に固定的に決定しておく必要がないため、空きのメモリエリアが存在する限り、実行内容定義データおよびレコードデータの追加を行うことができる。したがって、実行内容定義データやレコードデータの最大格納数を変更したい場合であっても、画面データまで変更する必要がない。   By creating such a record data list having a dynamic structure, the control display device 20 has the effects described below. That is, first, it is only necessary to secure a memory area for storing data corresponding to the components necessary for the current screen display, so that it is not necessary to secure an unnecessary memory area, and the memory can be used effectively. In addition, since it is not necessary to determine the maximum number of memory areas to be fixed when creating screen data, execution content definition data and record data can be added as long as there is an empty memory area. it can. Therefore, even when it is desired to change the maximum number of stored execution content definition data and record data, it is not necessary to change the screen data.

〔画面表示〕
制御用表示装置20では、イベント実行部29が、メモリ24に格納されているレコードデータリストに基づき、所定の単位画面を表示する。そこで、図2(a)に示されている単位画面を、イベント実行部29が、レコードデータリストに基づいて表示する際の動作について説明する。
〔Screen display〕
In the control display device 20, the event execution unit 29 displays a predetermined unit screen based on the record data list stored in the memory 24. Therefore, the operation when the event execution unit 29 displays the unit screen shown in FIG. 2A based on the record data list will be described.

イベント実行部29は、まず、レコードデータリストに含まれる先頭のレコードデータL1に基づき、このレコードデータL1に含まれている定義データ参照アドレスAD1が参照している実行内容定義データD1を参照する。そして、イベント実行部29は、実行内容定義データD1に定義されている処理内容を実行する。例えば、実行内容定義データD1に定義されている部品画像の表示を実行することによって、部品S1を画面G1に表示する。   The event execution unit 29 first refers to the execution content definition data D1 referred to by the definition data reference address AD1 included in the record data L1, based on the first record data L1 included in the record data list. Then, the event execution unit 29 executes the processing content defined in the execution content definition data D1. For example, the component S1 is displayed on the screen G1 by executing the display of the component image defined in the execution content definition data D1.

次に、イベント実行部29は、レコードデータL1に含まれるレコードデータ参照アドレスN1に基づき、このレコードデータ参照アドレスN1が参照しているレコードデータL2を特定する。そして、イベント実行部29は、レコードデータL2に含まれている定義データ参照アドレスAD2が参照している実行内容定義データD2を参照する。そして、イベント実行部29は、実行内容定義データD2に定義されている処理内容を実行する。例えば、実行内容定義データD1に定義されている部品画像の表示を実行することによって、部品S2を画面G1に表示する。   Next, the event execution unit 29 specifies the record data L2 referred to by the record data reference address N1 based on the record data reference address N1 included in the record data L1. Then, the event execution unit 29 refers to the execution content definition data D2 referenced by the definition data reference address AD2 included in the record data L2. Then, the event execution unit 29 executes the processing content defined in the execution content definition data D2. For example, the component S2 is displayed on the screen G1 by executing the display of the component image defined in the execution content definition data D1.

次に、イベント実行部29は、レコードデータL2に含まれるレコードデータ参照アドレスN2に基づき、このレコードデータ参照アドレスN2が参照しているレコードデータL3を特定する。そして、イベント実行部29は、レコードデータL3に含まれている定義データ参照アドレスAD3が参照している実行内容定義データD3を参照する。そして、イベント実行部29は、実行内容定義データD3に定義されている処理内容を実行する。例えば、実行内容定義データD3に定義されている部品画像の表示を実行することによって、部品S3を画面G1に表示する。   Next, the event execution unit 29 specifies the record data L3 referred to by the record data reference address N2 based on the record data reference address N2 included in the record data L2. Then, the event execution unit 29 refers to the execution content definition data D3 referred to by the definition data reference address AD3 included in the record data L3. Then, the event execution unit 29 executes the processing content defined in the execution content definition data D3. For example, the component S3 is displayed on the screen G1 by executing display of the component image defined in the execution content definition data D3.

最後に、イベント実行部29は、レコードデータL3にターミネータが含まれていることを確認することによって、一連の処理を終了する。このようにして、イベント実行部29は、レコードデータリストに基づき、画面G1をディスプレイ25に表示する。このように、制御用表示装置20では、動的データ構造のレコードデータリストに基づき画面G1の表示が行われるため、画面の表示の際に不必要なタグにまでアクセスする必要があった従来装置に比べて、画面表示をより速く完了することができる。   Finally, the event execution unit 29 ends the series of processes by confirming that the terminator is included in the record data L3. In this way, the event execution unit 29 displays the screen G1 on the display 25 based on the record data list. As described above, in the control display device 20, since the screen G1 is displayed based on the record data list having the dynamic data structure, it is necessary to access an unnecessary tag when displaying the screen. The screen display can be completed more quickly than.

〔タッチ動作に対応する処理〕
以上の処理によってディスプレイ25に表示された画面G1では、各部品S1〜S3において、オペレータによる入力(タッチ操作)を受け付けることができる。そして、制御用表示装置20では、このタッチ操作に基づき、各部品に対応した所定の処理が実行される。このとき、制御用表示装置20のイベント実行部29は、やはり、メモリ24上に動的に展開されているレコードデータリストを利用する。そこで、この場合の動作について、以下に説明する。
[Process corresponding to touch operation]
In the screen G1 displayed on the display 25 by the above processing, an input (touch operation) by an operator can be received in each of the components S1 to S3. The control display device 20 executes predetermined processing corresponding to each component based on the touch operation. At this time, the event execution unit 29 of the control display device 20 also uses the record data list that is dynamically expanded on the memory 24. The operation in this case will be described below.

まず、オペレータが、部品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 touch panel 26 detects this, generates component identification data ID1 for identifying the component S1, and outputs it to the control unit 21. The control unit 21 outputs the component identification data ID1 to the event execution unit 29.

部品識別データID1が入力されると、イベント実行部29は、メモリ24に格納されているレコードデータリストにアクセスして、まず、最初のレコードデータL1を特定する。次に、イベント実行部29は、レコードデータL1に、部品識別データID1が関連づけられているか否かを判定する。上述したように、レコードデータL1には部品識別データID1が関連づけられている。したがって、イベント実行部29は、レコードデータL1に基づき、定義データ参照アドレスAD1が参照している実行内容定義データD1を特定する。そしてイベント実行部29は、実行内容定義データD1に定義されている所定の処理を実行する。   When the component identification data ID1 is input, the event execution unit 29 accesses the record data list stored in the memory 24, and first specifies the first record data L1. Next, the event execution unit 29 determines whether or not the component identification data ID1 is associated with the record data L1. As described above, the component identification data ID1 is associated with the record data L1. Therefore, the event execution unit 29 specifies the execution content definition data D1 referenced by the definition data reference address AD1 based on the record data L1. Then, the event execution unit 29 executes a predetermined process defined in the execution content definition data D1.

ここで、実行内容定義データ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 event execution unit 29 turns on the bit.

次にイベント実行部29は、レコードデータL1に含まれているレコードデータ参照アドレスN1に基づき、レコードデータリストにおいて、レコードデータL1の次のレコードデータであるレコードデータL2を特定する。ここで、レコードデータL2に関連づけられている部品識別データは、部品識別データID1ではなく部品識別データID2である。したがって、イベント実行部29は、特に何の処理も行わない。   Next, the event execution unit 29 specifies record data L2, which is the next record data of the record data L1, in the record data list based on the record data reference address N1 included in the record data L1. Here, the component identification data associated with the record data L2 is not the component identification data ID1 but the component identification data ID2. Therefore, the event execution unit 29 does not particularly perform any processing.

次に、イベント実行部29は、レコードデータL2に格納されているレコードデータ参照アドレスN2に基づき、レコードデータL2の次のレコードデータであるレコードデータL3を特定する。ここで、レコードデータL3に関連づけられている部品識別データは、部品識別データID1ではなく部品識別データID3である。したがって、イベント実行部29は、特に何の処理も行わない。また、このとき、イベント実行部29は、レコードデータL3にターミネータが含まれていることを確認し、一連の動作を終了する。   Next, the event execution unit 29 specifies record data L3, which is the next record data of the record data L2, based on the record data reference address N2 stored in the record data L2. Here, the component identification data associated with the record data L3 is not the component identification data ID1 but the component identification data ID3. Therefore, the event execution unit 29 does not particularly perform any processing. At this time, the event execution unit 29 confirms that the terminator is included in the record data L3, and ends the series of operations.

以上の処理により、イベント実行部29は、動的リスト構造を取るレコードデータリストを用いて、オペレータによって部品S1がタッチされた場合の、所定の処理を実行する。なお、部品S2や部品S3がオペレータによってタッチされた場合も、イベント実行部29は、上述したように、アドレスを順にたどることによって、レコードデータリスト内の各レコードデータを次々と探査し、タッチされた部品を特定する部品識別データが関連付けられているレコードデータを特定する。そして、イベント実行部29は、当該レコードデータから参照されている実行内容定義データに基づき、タッチされた部品に対応する所定の処理を実行する。これによって、制御用表示装置20では、部品S2がタッチされた場合、ビットがONであるならランプが表示される。また、部品S3がタッチされた場合、画面の切り替えが行われる。   Through the above processing, the event execution unit 29 executes predetermined processing when the component S1 is touched by the operator using the record data list having a dynamic list structure. Even when the component S2 or the component S3 is touched by the operator, the event execution unit 29 searches for each record data in the record data list one after another by following the addresses in order as described above. The record data associated with the component identification data for identifying the identified component is identified. Then, the event execution unit 29 executes a predetermined process corresponding to the touched component based on the execution content definition data referenced from the record data. Thereby, in the control display device 20, when the component S2 is touched, the lamp is displayed if the bit is ON. When the component S3 is touched, the screen is switched.

〔単位画面の切り換え〕
図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 control display device 20 can switch the unit screen. For example, the screen G2 illustrated in FIG. 2B includes a component S4 and a component S5. Here, in the control display device 20, when switching the screen display from the screen G1 to the screen G2, the record list creation unit 28 accesses the screen data again, and records data lists corresponding to the parts S4 and S5 and Execution content definition data is dynamically generated and stored in a memory area secured on the memory 24. The event execution unit 29 displays the screen G2 on the terminal device 40 based on the record data list generated by the record list creation unit 28 for displaying the screen G2. Also, a predetermined operation corresponding to the touch operation by the operator on the component S4 or the component S5 is executed.

さらに、制御用表示装置20では、単位画面を切り換えずに、その上にサブ画面を重ねて表示することもできる。例えば、図2(c)に示す画面G2には、部品S6を含むサブ画面G’1が表示されている。このとき、レコードデータリストには、上述した部品S4および部品S5にくわえて、部品S6に対応したレコードデータが追加されている。すなわち、レコードリスト作成部28は、部品S6に対応したレコードデータを作成してレコードデータリストに追加する一方、部品S6に対応した実行内容定義データを作成して、メモリ24上に確保したメモリエリアに格納する。   Further, the control display device 20 can display the sub screen on the unit screen without switching the unit screen. For example, the sub screen G′1 including the component S6 is displayed on the screen G2 illustrated in FIG. At this time, record data corresponding to the component S6 is added to the record data list in addition to the components S4 and S5 described above. That is, the record list creation unit 28 creates record data corresponding to the part S6 and adds it to the record data list, while creating execution content definition data corresponding to the part S6 and securing the memory area on the memory 24. To store.

そして、イベント実行部29は、レコードデータリストに基づき、部品S4の表示と、部品S6からなるサブ画面G’1の表示を、同時に端末装置40において行う。   Then, the event execution unit 29 simultaneously displays the component S4 and the sub screen G′1 including the component S6 on the terminal device 40 based on the record data list.

このように、レコードデータリストが動的な構造を取っていることから、制御用表示装置20では、表示画面の切り換えの際に必要な処理を、最低限にすることができる。例えば、従来装置のように、画面を切り換えるたびに、画面データ内の全てのタグにアクセスする必要が生じない。したがって、処理速度を向上し、メモリ消費量を最低限に抑えることができる。   As described above, since the record data list has a dynamic structure, the control display device 20 can minimize processing required for switching the display screen. For example, unlike the conventional apparatus, it is not necessary to access all tags in the screen data every time the screen is switched. Therefore, the processing speed can be improved and the memory consumption can be minimized.

以上に説明したように、メモリ24に格納されているレコードデータリストは、動的なリスト構造を取っている。したがって、レコードデータリストにレコードデータを追加したり、あるいはレコードデータリストからレコードデータを除いたりすることを、容易かつ高速に実行できる。そこで、この具体例について、図4および図5を参照して説明する。   As described above, the record data list stored in the memory 24 has a dynamic list structure. Therefore, adding record data to the record data list or removing record data from the record data list can be executed easily and at high speed. This specific example will be described with reference to FIGS. 4 and 5. FIG.

〔レコードデータリストからのレコードデータの除去〕
図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 list creation unit 28.

図4に示す例では、レコードリスト作成部28は、レコードデータリストに含まれるレコードデータL2を、レコードデータリストから除去している。このとき、レコードリスト作成部28は、レコードデータL2の前のレコードデータであるレコードデータL1に含まれる定義データ参照アドレスAD2を、レコードデータ参照アドレスN1から、レコードデータ参照アドレスN2へと変更する。   In the example shown in FIG. 4, the record list creation unit 28 removes the record data L2 included in the record data list from the record data list. At this time, the record list creation unit 28 changes the definition data reference address AD2 included in the record data L1, which is the record data before the record data L2, from the record data reference address N1 to the record data reference address N2.

これによって、レコードデータ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 control display device 20, the record data list has a dynamic list structure, so that deletion of record data in the record data list can be executed extremely easily and in a short time. Each execution content definition data is stored in a separate memory area in the memory 24 and is not continuous. Thereby, since the possibility of erroneous data access to each execution content definition data is extremely low, it is possible to manage and update data more safely, for example, it is easier to prevent the execution content definition data from being destroyed.

〔レコードデータリストへのレコードデータの追加〕
レコードデータリストに新たなレコードデータを追加する例について、図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 list creation unit 28.

すなわち、図5に示す例では、レコードリスト作成部28が、新たな実行内容定義データである実行内容定義データD4と、新たなレコードデータであるレコードデータL4を、メモリ24上にメモリエリアを確保して生成する。そして、レコードリスト作成部28は、レコードデータL4にアクセスして、その先頭アドレスを、定義データ参照アドレスAD3として抽出する。レコードリスト作成部28は、レコードデータL3に含まれるターミネータを、定義データ参照アドレスAD3に置き換える。また、レコードデータL4には、ターミネータを含める。   That is, in the example shown in FIG. 5, the record list creation unit 28 secures a memory area on the memory 24 for execution content definition data D4 that is new execution content definition data and record data L4 that is new record data. And generate. Then, the record list creation unit 28 accesses the record data L4 and extracts the head address as the definition data reference address AD3. The record list creation unit 28 replaces the terminator included in the record data L3 with the definition data reference address AD3. The record data L4 includes a terminator.

このような処理を行うことによって、レコードデータ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 list creation unit 28 only secures a memory area necessary for storing newly added data and corrects a part of the record data. Can be added. That is, the data can be added easily and quickly compared to the case where the data required for the screen display has a static structure.

また、レコードデータリストからレコードデータを削除する場合と同様に、他の実行内容定義データに不必要なデータアクセスをする可能性が低い。したがって、各実行内容定義データをより安全に管理できる。   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 terminal device 40 connected to the control display device 20 through a network line. That is, the operator operates the terminal device 40 to create part data related to the part to be added. In the terminal device 40, the part data creation unit 42 creates part data. The communication unit 44 transmits the component data created by the component data creation unit 42 to the terminal side communication unit 27 of the control display device 20.

端末側通信部27は、受信した部品データを、制御部21を介してレコードリスト作成部28に出力する。レコードリスト作成部28は受け取った部品データに基づき、新たなレコードデータを追加し、レコードデータリストに追加する。また、レコードデータに含まれる定義データ参照アドレスによって参照される実行内容定義データを作成し、メモリ24に確保したメモリエリアに格納する。   The terminal side communication unit 27 outputs the received component data to the record list creation unit 28 via the control unit 21. The record list creation unit 28 adds new record data based on the received component data and adds it to the record data list. Further, execution content definition data referenced by a definition data reference address included in the record data is created and stored in a memory area secured in the memory 24.

このような処理を行うことによって、制御用表示装置20において表示される表示画面に、新たな部品を追加することができる。このとき、画面データを始めから再設計することなく、部品を追加できる。また、他の実行内容定義データを一切変更することなく、新たな実行内容定義データを追加できる。すなわち、従来装置では、部品を一つでも追加したい場合、作画エディタ装置10において画面データを再設計する必要があり、機能拡張の柔軟性に欠ける。それに対して、本発明の制御用表示装置20では、制御用表示装置20における表示画面や制御動作の拡張を、容易かつ柔軟に行うことができる。   By performing such processing, a new component can be added to the display screen displayed on the control display device 20. At this time, parts can be added without redesigning the screen data from the beginning. Further, new execution content definition data can be added without changing any other execution content definition data. That is, in the conventional apparatus, when it is desired to add even one part, it is necessary to redesign the screen data in the drawing editor apparatus 10, and the function expansion flexibility is lacking. On the other hand, in the control display device 20 of the present invention, the display screen and control operation of the control display device 20 can be easily and flexibly expanded.

また、制御用表示装置20では、追加したレコードデータおよび実行内容定義データに基づき、新たな部品に対応したタグを、画面データ記憶部23に保存されている画面データに追加保存するようにしてもよい。この処理は、例えば制御部21がこの場合、画面表示の拡張が、画面データレベルで反映されることになる。   The control display device 20 may additionally store a tag corresponding to a new part in the screen data stored in the screen data storage unit 23 based on the added record data and execution content definition data. Good. For example, in this case, the control unit 21 reflects the expansion of the screen display at the screen data level.

〔実行内容定義データの修正〕
また、制御用表示装置20では、レコードデータリストが動的リスト構造を取っていることから、各レコードデータが参照している実行内容定義データを更新しても、他の実行内容定義データやレコードデータに影響を及ぼすおそれがない。このことを利用して、制御用表示装置20では、レコードデータリストの構成を変えることなく、単位画面に表示される部品を変更することもできる。
[Modify execution definition data]
Further, in the control display device 20, since the record data list has a dynamic list structure, even if the execution content definition data referred to by each record data is updated, other execution content definition data and records are recorded. There is no risk of affecting data. By utilizing this fact, the control display device 20 can change the parts displayed on the unit screen without changing the configuration of the record data list.

この例について、図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 list creation unit 28.

このとき、レコードリスト作成部28は、レコードデータリスト含まれるレコードデータや、あるいは実行内容定義データD1および実行内容定義データD3に対して、何ら変更を加えることなく、実行内容定義データD2のみを更新している。したがって、レコードリスト作成部28は、実行内容定義データD2の更新後、レコードデータリストに基づく画面表示処理を行うことによって、通信部44に表示されているランプを、ボタンに変更することができる。   At this time, the record list creation unit 28 updates only the execution content definition data D2 without making any change to the record data included in the record data list, or the execution content definition data D1 and the execution content definition data D3. is doing. Therefore, the record list creation unit 28 can change the lamp displayed on the communication unit 44 to a button by performing screen display processing based on the record data list after the execution content definition data D2 is updated.

このように、制御用表示装置20では、レコードデータリストを変更することなく、画面表示を変更することができる。すなわち、画面表示を変更する際の処理を、静的構造のデータに利用する従来装置に比べて、大幅に速く完了することができる。   As described above, the control display device 20 can change the screen display without changing the record data list. That is, the process for changing the screen display can be completed significantly faster than the conventional apparatus that uses static structure data.

なお、上述したレコードリスト作成部28は、レコードデータリストを作成する際、タグに定義されている部品を識別するための部品識別データと、所定の処理内容を定義している実行内容定義データと、次のレコードデータ(他の参照すべきレコードデータ)を参照しているレコードデータ参照アドレスとを互いに関連づけて、1つのレコードデータを作成してもよい。すなわち、レコードリスト作成部28は、実行内容定義データとレコードデータ参照アドレスとが一体化されているレコードデータを作成してもよい。この場合も、レコードリスト作成部28は、複数のレコードデータを組み合わせてレコードデータリストを作成する。   The record list creation unit 28 described above, when creating the record data list, includes component identification data for identifying the component defined in the tag, execution content definition data defining predetermined processing content, and One record data may be created by associating each other with a record data reference address referring to the next record data (record data to be referred to). That is, the record list creation unit 28 may create record data in which the execution content definition data and the record data reference address are integrated. Also in this case, the record list creation unit 28 creates a record data list by combining a plurality of record data.

このような、実行内容定義データとレコードデータ参照アドレスとが一体化され、実行内容定義データそのものが動的リスト構造に組み込まれているレコードデータリストに基づいても、制御用表示装置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 control display device 20 also performs the above-described operation. The same effect as that obtained can be obtained.

〔表示制御プログラムおよび記録媒体〕
また、上述した各部材は、いずれも機能ブロックである。したがって、これらの部材は、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 device 20 and provided in the control display device 20 reading and executing the program code recorded on the recording medium.

この場合、記録媒体から読み出されたプログラムコード自体が、上述した機能を実現することになり、そのプログラムコードを記録した記録媒体は、本発明を構成することになる。具体的には、制御用表示装置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 control display device 20 is realized by a predetermined display control program stored in a storage unit (not shown) being executed by an arithmetic means (such as a microprocessor) not shown.

一方で、上述した各部材は、上述したソフトウェアと同様の処理を行う回路等のハードウェアとして実現してもよい。この場合、本発明の目的は、ハードウェアである制御用表示装置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 control display device 20 which is hardware.

また、演算手段は、単体の構成であってもよい。あるいは、制御用表示装置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 display apparatus 20 for control and various communication paths cooperates and performs the code | cord | chord of a display control program may be sufficient.

ここで、演算手段によって直接的に実行可能なプログラムコードそのもの、または、後述する解凍などの処理によってプログラムコードを生成可能な、データとしてのプログラムは、これらのプログラムまたはデータを記録媒体に格納し、この記録媒体を配布したり、あるいは、プログラムを、有線または無線の通信路を介して伝送するための通信ネットワークによって送信したりして配布したりすることによって、演算手段で実行されるものとする。   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.

本発明の一実施形態に係る制御用表示装置20を含む制御システムの詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the control system containing the display apparatus 20 for control which concerns on one Embodiment of this invention. 制御用表示装置20のディスプレイ25に表示される表示画面の一例を示す図であり、(a)は画面に3つの部品が表示される例を示す図であり、(b)は画面に2つの部品が表示される例を示す図であり、(c)は同じ画面上にサブ画面が表示される例を示す図である。It is a figure which shows an example of the display screen displayed on the display 25 of the control display apparatus 20, (a) is a figure which shows the example in which three components are displayed on a screen, (b) is two figures on a screen. It is a figure which shows the example in which components are displayed, (c) is a figure which shows the example in which a sub screen is displayed on the same screen. レコードリスト作成部28が生成するレコードデータリスト、およびレコードデータリストに含まれる各レコードデータが参照している実行内容定義データの一例を示す図である。It is a figure which shows an example of the execution content definition data which the record data list which the record list preparation part produces | generates and each record data contained in a record data list refers. レコードデータリストから不必要になったレコードデータを除去したことを示す図である。It is a figure which shows having removed the record data which became unnecessary from the record data list. レコードデータリストに新たなレコードデータを追加したことを示す図である。It is a figure which shows having added new record data to the record data list. レコードデータリストに含まれるレコードデータが参照している実行内容定義データの定義内容を変更した例を示す図である。It is a figure which shows the example which changed the definition content of the execution content definition data referred by the record data contained in a record data list.

符号の説明Explanation of symbols

10 作画エディタ装置
12 作画処理部
14 通信部
20 制御用表示装置
21 制御部
22 作画エディタ側通信部(作画エディタ側通信手段)
23 画面データ記憶部(画面データ記憶手段)
24 メモリ(記憶部)
25 ディスプレイ
26 タッチパネル
27 端末側通信部
28 レコードリスト作成部(レコードデータ作成手段、レコードリスト作成手段、保存手段)
29 イベント実行部(処理実行手段)
30 PLC側通信部
40 端末装置
42 部品データ作成部
44 通信部
50 PLC
60 デバイス
DESCRIPTION OF SYMBOLS 10 Drawing editor apparatus 12 Drawing processing part 14 Communication part 20 Control display device 21 Control part 22 Drawing editor side communication part (drawing editor side communication means)
23 Screen data storage unit (screen data storage means)
24 Memory (storage unit)
25 Display 26 Touch panel 27 Terminal side communication unit 28 Record list creation unit (record data creation means, record list creation means, storage means)
29 Event execution part (process execution means)
30 PLC side communication unit 40 terminal device 42 component data creation unit 44 communication unit 50 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に記載の制御用表示装置。   The record data list and execution content definition based on the screen data that is composed of a combination of tags that indicate the correspondence between the area on the screen of the control display device and the device corresponding to the display or input to each area. The control display device according to claim 1, further comprising a record list creation means for generating data. 外部の端末装置から、上記実行内容定義データを受信する端末側通信手段と、
上記実行内容定義データに基づき、この実行内容定義データを参照する定義データ参照アドレスを含むレコードデータを作成するレコードデータ作成手段と、
上記レコードデータを、上記レコードデータリストに追加するレコードデータ追加手段とをさらに備えていることを特徴とする請求項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.
上記端末側通信手段が受信した上記実行内容定義データを、上記画面データに保存する保存手段をさらに備えていることを特徴とする請求項3に記載の制御用表示装置。   4. The control display device according to claim 3, further comprising storage means for storing the execution content definition data received by the terminal side communication means in the screen data. 請求項1〜4のいずれか1項に記載の制御用表示装置を動作させる表示制御プログラムであって、コンピュータを上記の各手段として機能させることを特徴とする表示制御プログラム。   A display control program for operating the control display device according to any one of claims 1 to 4, wherein the computer functions as each of the above means. 請求項5に記載の表示制御プログラムを格納していることを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing the display control program according to claim 5.
JP2004322617A 2004-11-05 2004-11-05 Display device for control, display control program, and recording medium Pending JP2006133516A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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