JP4454455B2 - Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display - Google Patents

Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display Download PDF

Info

Publication number
JP4454455B2
JP4454455B2 JP2004282301A JP2004282301A JP4454455B2 JP 4454455 B2 JP4454455 B2 JP 4454455B2 JP 2004282301 A JP2004282301 A JP 2004282301A JP 2004282301 A JP2004282301 A JP 2004282301A JP 4454455 B2 JP4454455 B2 JP 4454455B2
Authority
JP
Japan
Prior art keywords
data
variable
control
individual
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2004282301A
Other languages
Japanese (ja)
Other versions
JP2006099258A (en
Inventor
剛 池添
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
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 JP2004282301A priority Critical patent/JP4454455B2/en
Publication of JP2006099258A publication Critical patent/JP2006099258A/en
Application granted granted Critical
Publication of JP4454455B2 publication Critical patent/JP4454455B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

本発明は、制御対象機器との間でデータを通信する装置によるデータ処理を実現するための技術に関する。より特定的には、当該処理を実現するプログラムにて参照される変数の定義に関し、利用者に柔軟性をもたらしつつ、プログラムのメンテナンス性を向上させることができるエディタ装置、コンピュータをエディタ装置として機能させるためのプログラム、そのプログラムを格納した記録媒体、制御システム、および表示器に関する。   The present invention relates to a technique for realizing data processing by a device that communicates data with a control target device. More specifically, an editor device that can improve the maintainability of the program while providing flexibility to the user with respect to the definition of the variable referenced in the program that realizes the processing, and the computer functions as an editor device And a recording medium storing the program, a control system, and a display.

プログラマブルロジックコントローラと称される産業用制御装置は、自動組付け機その他の制御対象機器に接続され、シーケンス制御その他の制御を実行したり、その機器の状態を表わすデータを受信したりする。この制御対象機器の制御あるいは状態の表示は、たとえば、その制御対象機器の状態を表示する機能およびその機器の動作を制御する機能を有する表示器を介して行なわれる。また、近年、上記の産業用制御装置が有する制御機能を備えた表示器も導入されている。   An industrial control device called a programmable logic controller is connected to an automatic assembly machine or other control target equipment, and executes sequence control or other control, or receives data representing the state of the equipment. The control or status display of the control target device is performed, for example, via a display device having a function of displaying the status of the control target device and a function of controlling the operation of the device. In recent years, a display device having a control function of the industrial control device has been introduced.

上記の表示器は、接続されている制御対象機器の状態を表示したり、作業者が指示を入力するための画面を表示する。また、予め設定された配信条件が成立した場合には、配信対象として指定されたデータは、通信機能を備える他のデータ処理装置に配信される。このようなデータ処理は、各データ属性を備えるデータを格納する領域として予め定義された変数を参照するプログラムによって実現される。   The display unit displays a state of the connected control target device and displays a screen for an operator to input an instruction. In addition, when a preset distribution condition is satisfied, data designated as a distribution target is distributed to another data processing apparatus having a communication function. Such data processing is realized by a program that refers to a variable defined in advance as an area for storing data having each data attribute.

一般にコンピュータが当該処理を実行する場合、処理の対象となるデータの件数は、プログラムに応じて増減する。この場合、データ量によっては、プログラムの実行速度が低下したり、データ転送の場合には、転送量が増加したり、あるいは通信時間が増加する等の問題があった。   In general, when a computer executes the process, the number of data to be processed increases or decreases depending on the program. In this case, depending on the amount of data, there is a problem that the execution speed of the program decreases, or in the case of data transfer, the amount of transfer increases or the communication time increases.

そこで、たとえば特許第3364207号明細書(特許文献1)は、表示器と産業用制御装置とを備える制御システムにおいて、表示器をデータ通信の中心として構成可能にするためのシステムを開示している。   Thus, for example, Japanese Patent No. 3364207 (Patent Document 1) discloses a system for enabling a display to be configured as a center of data communication in a control system including a display and an industrial control device. .

また、データ転送量を抑制するために、たとえば特開平7−239808号公報(特許文献2)は、ネットワーク上に分散配置されサービス要求を行なうクライアント計算機とクライアント計算機からのサービス要求を処理するサーバ計算機からなる分散データ管理システムを開示する。このシステムにおいて、サーバ計算機は、サーバ計算機上の実ファイルデータをページ単位で管理する実ファイルストア管理部と、クライアント計算機からのファイルアクセス要求に対してアクセス要求箇所を含むページ単位でのデータ転送を行なうデマンドページ転送部とを備える。クライアント計算機は、サーバ計算機に対するページデータ転送要求部を備える。   In order to reduce the data transfer amount, for example, Japanese Patent Laid-Open No. 7-239808 (Patent Document 2) discloses a client computer that is distributed on a network and makes a service request, and a server computer that processes a service request from the client computer. A distributed data management system is disclosed. In this system, the server computer manages the real file data on the server computer in page units, and performs data transfer in page units including access request locations for file access requests from client computers. A demand page transfer unit to perform. The client computer includes a page data transfer request unit for the server computer.

特開平7−239808号公報(特許文献2)に開示されたシステムによると、必要とされるページのみが転送されるので、転送量が抑制される。
特許第3364207号明細書 特開平7−239808号公報
According to the system disclosed in Japanese Patent Laid-Open No. 7-239808 (Patent Document 2), only the necessary pages are transferred, so that the transfer amount is suppressed.
Japanese Patent No. 3364207 Japanese Unexamined Patent Publication No. 7-239808

ところで、上記の表示器は、さらに予め定義された変数ごとに制御対象機器からのデータを格納する。表示器において使用される変数の数は、制御対象機器の仕様の変更等により増加したり変更したりする。また、表示器は、制御内容に応じて異なるデータ属性を有する変数を使用する。そのため、当該変数を参照して所定の処理を実現する制御プログラムの設計時には、各変数の属性を考慮する必要がある。しかしながら、表示器においてデータが格納されるメモリの識別名称として使用される変数および各変数のデータ型の種類が複数ある場合、データ処理の時間が長くなる場合があった。すなわち、各変数に対するアクセスが速やかに行なわれない場合があるため、データ転送時間が長くなるという問題があった。また、データ処理の対象となる変数の数が多くなると、送信ヘッダ量が増加するため、データ転送量が多くなるという問題もあった。   By the way, the display device further stores data from the control target device for each predefined variable. The number of variables used in the display unit is increased or changed by changing the specification of the control target device. Further, the display unit uses variables having different data attributes depending on the control contents. Therefore, it is necessary to consider the attributes of each variable when designing a control program that implements predetermined processing with reference to the variable. However, when there are a plurality of variables used as identification names of memories in which data is stored in the display unit and the data types of each variable, the data processing time may be increased. That is, there is a problem that the data transfer time becomes long because access to each variable may not be performed promptly. In addition, when the number of variables to be processed increases, the amount of transmission header increases, so that there is a problem that the amount of data transfer increases.

しかしながら、特開平7−239808号公報(特許文献2)に開示された技術によると、転送量の抑制は、ファイルのページ単位に対応した処理により実現されるため、変数レベルにおける処理は同様の技術では実現できなかった。また、データ転送の時間を短くすることができなかった。   However, according to the technique disclosed in Japanese Patent Application Laid-Open No. 7-239808 (Patent Document 2), the transfer amount is suppressed by the process corresponding to the page unit of the file. It was not possible. In addition, the data transfer time cannot be shortened.

本発明は、上述の問題点を解決するためになされたものであって、その目的は、階層化されたプログラムの設計を容易にすることができる処理プログラムを編集するためのエディタ装置を提供することである。   The present invention has been made to solve the above-described problems, and an object thereof is to provide an editor device for editing a processing program that can facilitate the design of a hierarchical program. That is.

本発明の他の目的は、データ通信のパフォーマンスの低下を防止しつつ、複数のデータ項目の通信を簡易に実行することができる処理プログラムを編集するためのエディタ装置を提供することである。   Another object of the present invention is to provide an editor device for editing a processing program capable of easily executing communication of a plurality of data items while preventing a decrease in data communication performance.

本発明の他の目的は、データ型が異なるデータの同時性を維持することができるプログラムを編集するためのエディタ装置を提供することである。   Another object of the present invention is to provide an editor device for editing a program capable of maintaining the simultaneity of data having different data types.

本発明の他の目的は、階層化されたプログラムの設計を容易にすることができる処理プログラムを編集するためのエディタ装置としてコンピュータを機能させるためのプログラムを提供することである。   Another object of the present invention is to provide a program for causing a computer to function as an editor device for editing a processing program that can facilitate the design of a hierarchical program.

本発明の他の目的は、階層化されたプログラムの設計を容易にすることができる処理プログラムを編集するためのエディタ装置としてコンピュータを機能させるためのプログラムを格納した記録媒体を提供することである。   Another object of the present invention is to provide a recording medium storing a program for causing a computer to function as an editor device for editing a processing program capable of facilitating the design of a hierarchical program. .

本発明の他の目的は、データ通信のパフォーマンスの低下を防止しつつ、複数のデータ項目の通信を簡易に実行することができる制御システムを提供することである。   Another object of the present invention is to provide a control system capable of easily executing communication of a plurality of data items while preventing a decrease in data communication performance.

本発明の他の目的は、データ通信のパフォーマンスの低下を防止しつつ、複数のデータ項目の通信を簡易に実行することができる表示器を提供することである。   Another object of the present invention is to provide a display capable of easily executing communication of a plurality of data items while preventing a decrease in data communication performance.

本発明の他の目的は、データ型が異なるデータの同時性を他の装置に対して維持することができる表示器を提供することである。   Another object of the present invention is to provide a display capable of maintaining the simultaneity of data of different data types with respect to other devices.

上記の課題を解決するために、この発明のある局面に従うと、エディタ装置は、制御対象機器との間でデータを通信する通信装置に転送可能なデータ形式で、通信装置によるデータ処理を実現する制御プログラムに対応する制御データを生成する。このエディタ装置は、外部からの入力を受け付ける入力手段と、入力に基づいて、データが格納される領域を識別するための変数と、制御プログラムにおける変数の属性とを定義する変数定義手段と、入力に基づいて、制御プログラムにより参照されるブロック変数を定義するブロック変数定義手段と、入力に基づいて複数の変数の中から選択された少なくとも1つ以上の変数と、ブロック変数とを関連付ける関連付け手段と、関連付けられた変数およびブロック変数とデータ形式とに基づいて、制御データを生成する生成手段とを備える。   In order to solve the above-described problem, according to one aspect of the present invention, the editor device realizes data processing by the communication device in a data format that can be transferred to the communication device that communicates data with the control target device. Control data corresponding to the control program is generated. The editor device includes an input unit that accepts an input from the outside, a variable defining unit that defines a variable in which data is stored based on the input, an attribute of the variable in the control program, and an input A block variable defining means for defining a block variable referred to by the control program, an association means for associating at least one variable selected from a plurality of variables based on the input with the block variable And generating means for generating control data based on the associated variables and block variables and the data format.

好ましくは、通信装置は、制御対象機器により出力される操業データに基づいて制御対象機器の状態を表示する表示手段と、他の通信装置との間で操業データを通信する通信手段とを備える表示装置である。制御プログラムは、操業データの通信のための通信プログラムを含む。生成手段は、通信プログラムに対応する制御データを生成する。   Preferably, the communication device includes a display unit that displays a state of the control target device based on operation data output by the control target device, and a display unit that communicates the operation data with another communication device. Device. The control program includes a communication program for communication of operation data. The generation unit generates control data corresponding to the communication program.

好ましくは、エディタ装置は、データを格納する記憶手段をさらに備える。変数定義手段は、領域が離散的に割り当てられた複数の変数の各々を表わす変数データと、複数の変数の各々の型属性を表わす属性データとを、記憶手段にそれぞれ格納する。関連付け手段は、領域が離散的に割り当てられた複数の変数データと、ブロック変数を表わすデータとを関連付ける。   Preferably, the editor device further includes storage means for storing data. The variable defining means stores variable data representing each of a plurality of variables to which regions are discretely assigned and attribute data representing each type attribute of the plurality of variables in the storage means. The associating means associates a plurality of variable data in which regions are discretely allocated with data representing block variables.

好ましくは、関連付け手段は、第1のデータ型の属性を有する変数と、第1のデータ型と異なる第2のデータ型の属性を有する変数とを、ブロック変数にそれぞれ関連付ける。   Preferably, the associating unit associates the variable having the attribute of the first data type and the variable having the attribute of the second data type different from the first data type with the block variable.

好ましくは、関連付け手段は、変数が既に関連付けられたブロック変数を、ブロック変数と異なるブロック変数に関連付ける手段を含む。   Preferably, the associating means includes means for associating a block variable with which the variable is already associated with a block variable different from the block variable.

好ましくは、エディタ装置は、少なくとも1つ以上の変数がブロック変数に関連付けられていることを表わす画像を、予め定められた座標軸方向に表示するための画像データを生成するデータ生成手段と、画像データに基づいて、画像を表示する表示手段とをさらに備える。   Preferably, the editor device includes: data generation means for generating image data for displaying an image indicating that at least one or more variables are associated with a block variable in a predetermined coordinate axis direction; And a display means for displaying an image.

好ましくは、制御プログラムは、ブロック変数に基づいてデータを通信する処理を実現するための通信プログラムを含む。エディタ装置は、通信プログラムを実行することによりデータを送信する第1のデータ通信装置を識別する第1の識別情報と、第1のデータ通信装置からデータを受信する第2のデータ通信装置を識別する第2の識別情報とを格納する識別情報記憶手段をさらに備える。生成手段は、第1の識別情報と第2の識別情報とに基づいて、通信プログラムに対応する制御データを生成する。   Preferably, the control program includes a communication program for realizing processing for communicating data based on a block variable. The editor device identifies first identification information for identifying a first data communication device that transmits data by executing a communication program, and identifies a second data communication device that receives data from the first data communication device Identification information storage means for storing the second identification information. The generation unit generates control data corresponding to the communication program based on the first identification information and the second identification information.

好ましくは、入力手段は、新たなブロック変数を生成するためのデータの入力を受けるデータ入力手段と、関連付けが既に行なわれたブロック変数を選択する指示の入力を受ける手段とを含む。エディタ装置は、指示に基づいて選択されたブロック変数に関連付けられているデータと、新たなブロック変数とを関連付けるためのリンク手段をさらに備える。   Preferably, the input means includes data input means for receiving input of data for generating a new block variable, and means for receiving an input of an instruction for selecting a block variable that has already been associated. The editor device further includes link means for associating data associated with the block variable selected based on the instruction and the new block variable.

好ましくは、データ入力手段は、新たなブロック変数のために確保される領域の位置を特定するための位置情報の入力を受ける。リンク手段は、位置情報と、選択されたブロック変数に関連付けられている変数のデータ属性とに基づいて、新たなブロック変数に関連付けられる変数のために確保される領域の位置情報を生成する。   Preferably, the data input means receives position information for specifying a position of an area reserved for a new block variable. The link means generates position information of a region reserved for a variable associated with a new block variable based on the position information and the data attribute of the variable associated with the selected block variable.

この発明の他の局面に従うと、プログラムは、制御対象機器との間でデータを通信する通信装置に転送可能なデータ形式で、通信装置によるデータ処理を実現する制御プログラムに対応する制御データを生成するエディタ装置として、コンピュータを機能させる。このプログラムはコンピュータに、外部からの入力を受け付けるステップと、入力に基づいて、データが格納される領域を識別するための変数と、制御プログラムにおける変数の属性とを定義するステップと、入力に基づいて、制御プログラムにより参照されるブロック変数を定義するステップと、入力に基づいて複数の変数の中から選択された少なくとも1つ以上の変数と、ブロック変数とを関連付けるステップと、関連付けられた変数およびブロック変数とデータ形式とに基づいて、制御データを生成するステップとを実行させる。   According to another aspect of the present invention, the program generates control data corresponding to a control program that realizes data processing by the communication device in a data format that can be transferred to the communication device that communicates data with the control target device. The computer is caused to function as an editor device. The program is based on an input from a computer, receiving an input from the outside, defining a variable for identifying a data storage area based on the input, and an attribute of the variable in the control program. Defining a block variable referenced by the control program, associating at least one variable selected from the plurality of variables based on the input with the block variable, an associated variable and Generating control data based on the block variable and the data format.

この発明の他の局面に従うと、記録媒体は、上記のプログラムを格納した媒体である。   According to another aspect of the present invention, the recording medium is a medium storing the above program.

この発明の他の局面に従うと、制御システムは、制御対象機器の動作を制御する制御装置と、制御対象機器の状態を表示する機能および制御対象機器の動作の制御を指示する機能を有する表示器とを備える。表示器は、画面を表示する表示手段と、制御装置とデータを通信する通信手段と、データが格納される領域を識別する変数と、複数の変数の中から選択された1つ以上の変数が関連付けられたブロック変数と、ブロック変数に関連付けられた1つ以上の変数に対応するデータに基づいて、制御対象機器の状態の表示と動作の制御の指示とを実行する制御プログラムとを格納する記憶手段と、ブロック変数と制御プログラムとに基づいて、少なくとも1つ以上の変数により特定されるデータを使用する処理を実行する制御手段とを備える。制御装置は、表示器と通信する通信手段と、表示器からのデータに基づいて、制御対象機器の動作を制御する動作制御手段とを備える。   According to another aspect of the present invention, the control system includes a control device that controls the operation of the control target device, a function that displays the state of the control target device, and a function that instructs the control of the operation of the control target device. With. The display includes display means for displaying a screen, communication means for communicating data with the control device, a variable for identifying an area in which data is stored, and one or more variables selected from a plurality of variables. A memory that stores an associated block variable and a control program that executes a display of the state of the control target device and an instruction to control the operation based on data corresponding to one or more variables associated with the block variable. And control means for executing processing using data specified by at least one or more variables based on the block variables and the control program. The control device includes a communication unit that communicates with the display unit, and an operation control unit that controls the operation of the device to be controlled based on data from the display unit.

この発明のさらに他の局面に従うと、表示器は、制御装置により動作が制御される制御対象機器の状態を表示する機能と制御対象機器の動作の制御を指示する機能とを有する。この表示器は、制御対象機器の状態を表わす画面を表示する表示手段と、制御装置とデータを通信する通信手段と、データが格納される領域を識別する変数と、複数の変数の中から選択された1つ以上の変数が関連付けられたブロック変数と、ブロック変数に関連付けられた1つ以上の変数に対応するデータに基づいて、制御対象機器の状態の表示と動作の制御の指示とを実行する制御プログラムとを格納する記憶手段と、ブロック変数と制御プログラムとに基づいて、少なくとも1つ以上の変数により特定されるデータを使用する処理を実行する制御手段とを備える。   According to still another aspect of the present invention, the display device has a function of displaying the state of the control target device whose operation is controlled by the control device and a function of instructing control of the operation of the control target device. This display is selected from among a plurality of variables, a display means for displaying a screen showing the state of the control target device, a communication means for communicating data with the control device, a variable for identifying a data storage area The display of the state of the control target device and the operation control instruction are executed based on the block variable associated with the one or more variables and the data corresponding to the one or more variables associated with the block variable. Storage means for storing a control program to be executed, and control means for executing processing using data specified by at least one variable based on the block variable and the control program.

好ましくは、表示器は、ブロック変数に基づいて制御プログラムを実行するデータ処理装置と通信するデータ通信手段と、予め定められた条件の成立に応じて、ブロック変数に関連付けられた変数により特定される領域に格納されているデータの送信指示を生成する生成手段とをさらに備える。制御プログラムは、ブロック変数を参照することによりブロック変数に関連付けられている1つ以上の変数に対応するデータを記憶手段から読み出す処理と、読み出されたデータに基づいて送信データを生成する処理とを実現するための通信プログラムを含む。制御手段は、送信指示に基づいて通信プログラムを実行することにより、データ通信手段に、データ処理装置に対して送信データを送信させる。   Preferably, the display device is specified by a data communication unit that communicates with a data processing device that executes a control program based on the block variable, and a variable associated with the block variable in accordance with establishment of a predetermined condition. And generating means for generating an instruction to transmit data stored in the area. The control program refers to a block variable, reads out data corresponding to one or more variables associated with the block variable from the storage unit, and generates transmission data based on the read data Including a communication program for realizing The control means causes the data communication means to transmit the transmission data to the data processing device by executing the communication program based on the transmission instruction.

本発明に係るエディタ装置によると、定義される個別変数はブロック変数に関連付けられる。そのため、ブロック変数への一度のアクセスにより、複数の個別変数へのアクセスが実現される。その結果、階層化されたプログラムの設計を容易にすることができる。また、ブロック変数単位でのデータ通信が可能になるため、個々の変数のデータをそれぞれ通信する場合に比べて、パフォーマンスの低下を防止することができる。また、複数のデータ項目の通信を容易に実行することができる。さらに、ブロック変数単位でのデータのアクセスが可能になるため、データ型が異なるデータの同時性を維持することができる。   According to the editor device of the present invention, the defined individual variable is associated with the block variable. Therefore, access to a plurality of individual variables is realized by one access to the block variable. As a result, it is possible to easily design a hierarchical program. In addition, since data communication can be performed in block variable units, it is possible to prevent performance degradation as compared with the case where data of individual variables are communicated. In addition, communication of a plurality of data items can be easily performed. Furthermore, since data can be accessed in units of block variables, the simultaneity of data having different data types can be maintained.

本発明に係るプログラムによると、上記の作用を奏する表示器としてコンピュータを機能させることができる。   According to the program according to the present invention, it is possible to cause a computer to function as a display that performs the above-described operation.

本発明に係る記録媒体がコンピュータに装着されると、当該コンピュータは、上記の作用を奏する表示器として機能することができる。   When the recording medium according to the present invention is mounted on a computer, the computer can function as a display that exhibits the above-described action.

本発明に係る制御システムによると、表示器における各変数へのアクセスは、ブロック変数ごとに実行される。その結果、当該制御システムを構成する表示器間において、ブロック変数単位でのデータ通信が可能になるため、個々の変数をデータ通信する場合に比べて、パフォーマンスの低下を防止することができる。また、各装置間における複数のデータ項目の通信を容易に実行することができる。さらに、ブロック変数単位でのデータのアクセスが可能になるため、当該制御システムにおいて、データ型が異なるデータの同時性を維持することができる。   According to the control system of the present invention, access to each variable in the display device is executed for each block variable. As a result, since data communication in units of block variables is possible between the display units constituting the control system, it is possible to prevent a decrease in performance as compared with the case where data communication is performed for individual variables. In addition, communication of a plurality of data items between the devices can be easily performed. Furthermore, since data can be accessed in units of block variables, the control system can maintain simultaneity of data having different data types.

本発明に係る表示器によると、ブロック変数にアクセスすることにより個別変数へのアクセスが可能になる。その結果、ブロック変数単位でのデータ通信が可能になるため、他の装置に個々の変数のデータを通信する場合に比べて、パフォーマンスの低下を防止することができる。また、当該他の装置との間で、複数のデータ項目の通信を容易に実行することができる。さらに、ブロック変数単位でのデータのアクセスが可能になるため、通信可能な他の装置との間で、データ型が異なるデータの同時性を維持することができる。   According to the display device according to the present invention, it is possible to access individual variables by accessing block variables. As a result, data communication in units of block variables becomes possible, so that it is possible to prevent a decrease in performance compared to the case of communicating individual variable data to other devices. Further, communication of a plurality of data items can be easily executed with the other device. Furthermore, since data can be accessed in units of block variables, the simultaneity of data having different data types can be maintained with other devices capable of communication.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

図1を参照して、本発明の実施の形態に係る表示器150を使用するFA(Factory Automation)システムについて説明する。図1は、FAシステム10のネットワーク構成を概略的に表わす図である。   With reference to FIG. 1, an FA (Factory Automation) system using a display 150 according to an embodiment of the present invention will be described. FIG. 1 is a diagram schematically showing a network configuration of the FA system 10.

FAシステム10は、中央監視装置100と、表示器150,1500と、制御ユニット180と、制御対象機器192,194とを含む。中央監視装置100と表示器150,1500とは、通信ネットワーク102を介してそれぞれ接続されている。表示器150は、通信ネットワーク102に接続され、中央監視装置100と通信するための共通プロトコルインターフェース部110と、入力部111と、制御部120と、表示部112と、プロトコル情報記憶部113と、データ記憶部114と、ネットワーク190を介して制御ユニット180と通信するための専用プロトコルインターフェース部130とを含む。表示器1500も、表示器150が有する構成と同様の構成を含む。中央監視装置100は、たとえば工場における操業を管理する事務所に設置されるコンピュータである。   The FA system 10 includes a central monitoring device 100, displays 150 and 1500, a control unit 180, and control target devices 192 and 194. The central monitoring apparatus 100 and the displays 150 and 1500 are connected to each other via the communication network 102. The display device 150 is connected to the communication network 102 and communicates with the central monitoring apparatus 100. The common protocol interface unit 110, the input unit 111, the control unit 120, the display unit 112, the protocol information storage unit 113, A data storage unit 114 and a dedicated protocol interface unit 130 for communicating with the control unit 180 via the network 190 are included. The display 1500 also includes a configuration similar to the configuration of the display 150. The central monitoring apparatus 100 is a computer installed in an office that manages operations in a factory, for example.

表示器150において、共通プロトコルインターフェース部110は、予め定められた共通プロトコルに基づいて中央監視装置100から送信されたデータの入力を受けて制御部120に出力する。入力部111は、外部から指示の入力を受け付けて、その指示に応じた信号を制御部120に出力する。専用プロトコルインターフェース部130は、予め定められた専用プロトコルに基づいて制御ユニット180もしくは制御対象機器196,198から送信された信号を受信し、そのデータを制御部120に出力する。   In the display device 150, the common protocol interface unit 110 receives data input from the central monitoring apparatus 100 based on a predetermined common protocol and outputs the data to the control unit 120. The input unit 111 receives an input of an instruction from the outside, and outputs a signal corresponding to the instruction to the control unit 120. The dedicated protocol interface unit 130 receives a signal transmitted from the control unit 180 or the control target devices 196 and 198 based on a predetermined dedicated protocol, and outputs the data to the control unit 120.

制御部120は、データの転送時には、共通プロトコルに基づいて入力されたデータをプロトコル情報記憶部113に格納されている変換テーブルに基づいて専用プロトコルに応じたデータに変換する。なお、このような変換は、表示器150に所定の設定を行なうための設定用データの入力時には実行されない。また、制御部120は、専用プロトコルに基づいて表わされたデータを、当該変換テーブルに基づいて共通プロトコルに応じたデータに変換する。制御部120は、入力部111を介して入力される指示、あるいは予め定められた条件の成立に応じて、所定の画像を表示部112に表示させる。データ記憶部114は、専用プロトコルインターフェース部130あるいは共通プロトコルインターフェース部110を介して入力されたデータを格納する。この格納の態様については後述する。   At the time of data transfer, the control unit 120 converts data input based on the common protocol into data corresponding to the dedicated protocol based on a conversion table stored in the protocol information storage unit 113. Note that such conversion is not performed when setting data for performing predetermined settings is input to the display device 150. Further, the control unit 120 converts data represented based on the dedicated protocol into data corresponding to the common protocol based on the conversion table. The control unit 120 causes the display unit 112 to display a predetermined image in response to an instruction input via the input unit 111 or establishment of a predetermined condition. The data storage unit 114 stores data input via the dedicated protocol interface unit 130 or the common protocol interface unit 110. This storage mode will be described later.

上記の構成を有するFAシステム10において、中央監視装置100および表示器150は、たとえばPC(Personal Computer)に所定のプログラムを実行させることにより実現される。このPCのハードウェア構成およびソフトウェア構成については、後述する。なお、本実施の形態においては、FAシステム10は、たとえば、LAN(Local Area Network)等の通信ネットワークに、1台以上の制御対象機器を接続可能な表示器を複数台接続することにより構成されるが、システムの構成は、これに限られない。   In the FA system 10 having the above-described configuration, the central monitoring device 100 and the display device 150 are realized by causing a PC (Personal Computer) to execute a predetermined program, for example. The hardware configuration and software configuration of the PC will be described later. In the present embodiment, the FA system 10 is configured by connecting a plurality of displays capable of connecting one or more controlled devices to a communication network such as a LAN (Local Area Network). However, the system configuration is not limited to this.

図2を参照して、本実施の形態に係る表示器150および表示器150において使用される変数を登録するためのエディタ装置200について説明する。図2は、表示器150およびエディタ装置200の構成を概略的に表わすブロック図である。   With reference to FIG. 2, display device 150 according to the present embodiment and editor device 200 for registering variables used in display device 150 will be described. FIG. 2 is a block diagram schematically showing the configuration of display device 150 and editor device 200.

なお、エディタ装置200と表示器150とは、一般には常に接続されているわけではなく、たとえばエディタ装置200において作成された制御データを表示器150にロードするときに、エディタ装置200と表示器150とは一時的に接続される。ここで、制御データとは、たとえば、表示器150に所定の動作を実行させるための制御プログラムが、表示器150において実行可能な形式に変換されているものをいう。所定の動作は、たとえば制御ユニット180からのデータの入力の受け付け、他の表示器との間のデータ通信、中央監視装置100その他のいわゆる上位システムとの間のデータ通信等を含む。   In general, the editor device 200 and the display device 150 are not always connected. For example, when the control data created in the editor device 200 is loaded onto the display device 150, the editor device 200 and the display device 150 are connected. Is temporarily connected. Here, the control data refers to, for example, data obtained by converting a control program for causing the display device 150 to execute a predetermined operation into a format that can be executed by the display device 150. The predetermined operation includes, for example, acceptance of data input from the control unit 180, data communication with another display, data communication with the central monitoring apparatus 100 and other so-called higher systems.

最初に、エディタ装置200について説明する。エディタ装置200は、相互にデータバスで接続された制御部210と、データを一時的に記憶するためのメモリ部212と、FAシステムの構築のための設定データを登録するための画面等を表示する表示部214と、利用者からのデータの入力を受け付ける入力部216と、記録媒体220が装着される駆動部218と、外部とデータの入出力をするための通信部222と、大容量のデータを記憶するためのデータ記憶部240と、変数の登録その他の編集機能を実現するためのエディタ部230とを含む。エディタ部230は、登録エディタ232と、変数管理部234と、プログラムエディタ236とを含む。   First, the editor device 200 will be described. The editor device 200 displays a control unit 210 connected to each other via a data bus, a memory unit 212 for temporarily storing data, a screen for registering setting data for building an FA system, and the like. Display unit 214, input unit 216 that accepts data input from the user, drive unit 218 to which the recording medium 220 is mounted, communication unit 222 for inputting / outputting data to / from the outside, large-capacity A data storage unit 240 for storing data and an editor unit 230 for realizing variable registration and other editing functions are included. The editor unit 230 includes a registration editor 232, a variable management unit 234, and a program editor 236.

制御部210は、たとえばCPU、あるいはMPU(Micro Processing Unit)その他の演算装置により実現される。制御部210は、所定の指示を検出すると、予めデータ記憶部240に格納されていた初期データと処理プログラムとをメモリ部212に読み出し、メモリ部212において逐次演算することにより、そのプログラムに基づく処理を実行する。   The control unit 210 is realized by, for example, a CPU or an MPU (Micro Processing Unit) or other arithmetic device. When the control unit 210 detects a predetermined instruction, the control unit 210 reads the initial data and the processing program stored in advance in the data storage unit 240 into the memory unit 212, and sequentially calculates in the memory unit 212, thereby performing processing based on the program. Execute.

メモリ部212は、たとえばRAM(Random Access Memory)、ROM(Read Only Memory)その他のメモリにより実現される。メモリ部212には、初期データなどの固定データ、あるいは制御部210による一時的な処理結果その他のデータが格納される。このデータの格納の態様については後述する。   The memory unit 212 is realized by, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), or other memory. The memory unit 212 stores fixed data such as initial data, or a temporary processing result by the control unit 210 and other data. This data storage mode will be described later.

表示部214は、たとえばディスプレイ装置により実現される。表示部214は、制御部210から受信した信号に基づいて、画面を表示する。たとえば表示部214は、メモリ部212の所定の領域に格納されている画像データを逐次読み出し、そのデータに基づいて、上記変数の登録のための画面を表示する。この画面は、たとえばマトリクス構造からなるテーブル形式にて表示される。この表示の態様は、後述する。   The display unit 214 is realized by a display device, for example. The display unit 214 displays a screen based on the signal received from the control unit 210. For example, the display unit 214 sequentially reads out image data stored in a predetermined area of the memory unit 212, and displays a screen for registering the variable based on the data. This screen is displayed in a table format having a matrix structure, for example. This display mode will be described later.

入力部216は、キーボード、マウスその他の入力装置により実現される。利用者は、この入力部216を介して、画面の編集のためのデータ、画面に含まれる画像に関連付けられる設定データ等を入力することができる。入力部216は、このような外部からの入力を受け付けて、当該入力に応じた信号を制御部210に出力する。   The input unit 216 is realized by a keyboard, a mouse, or other input device. The user can input data for editing the screen, setting data associated with an image included in the screen, and the like via the input unit 216. The input unit 216 receives such an external input and outputs a signal corresponding to the input to the control unit 210.

駆動部218は、装着された記録媒体220からデータを読み出したり、あるいは記録媒体220にデータを書き込んだりする。この駆動部218は、CD(Compact Disk)ドライブ装置、メモリカードドライブ装置等により実現される。   The drive unit 218 reads data from the attached recording medium 220 or writes data to the recording medium 220. The drive unit 218 is realized by a CD (Compact Disk) drive device, a memory card drive device, or the like.

通信部222は、通信回線を介して外部の装置と通信するためのインタフェースである。通信部222は、たとえばUSB(Universal Serial Bus)規格、RS(Recommendation Standard)−232C規格、RS−422規格等のインターフェースであるが、これらに限られず、通信回線を介して接続される機器とデータを通信することができるものであればよい。   The communication unit 222 is an interface for communicating with an external device via a communication line. The communication unit 222 is an interface such as USB (Universal Serial Bus) standard, RS (Recommendation Standard) -232C standard, RS-422 standard, etc., but is not limited to these, and devices and data connected via a communication line. As long as it can communicate.

エディタ部230において、登録エディタ232は、データ記憶部240に格納されているプログラムおよびデータに基づいて、FAシステムを構成する参加局を登録するための機能を実現する。ここで、参加局とは、FAシステムのネットワークに接続される表示器、制御装置その他のデータ処理装置をいう。当該参加局が登録されると、参加局を識別するための参加局名、通信ネットワーク上における参加局のネットワークアドレス等がデータ記憶部240に一旦格納される。   In the editor unit 230, the registration editor 232 realizes a function for registering the participating stations constituting the FA system based on the program and data stored in the data storage unit 240. Here, the participating station refers to a display device, a control device, and other data processing devices connected to the FA system network. When the participating station is registered, the participating station name for identifying the participating station, the network address of the participating station on the communication network, and the like are temporarily stored in the data storage unit 240.

また、登録エディタ232は、表示器150その他の参加局が使用する変数を登録する機能を実現する。この機能が実現されると、変数の名称、変数のデータ型、変数のデータサイズ等がそれぞれ関連付けられて、データ記憶部240に一旦格納される。ここで、変数とは、アドレスによって特定される領域に格納されたデータを参照するために用いられる識別子をいう。たとえば所定の処理を実現するプログラムが実行されている場合に、当該変数はプログラムにより参照される。変数は、個別変数と、個別変数が含まれるブロック変数とを含む。ここで、個別変数とは、他の個別変数およびブロック変数が含まれ得ない変数をいう。ブロック変数とは、個別変数あるいは他のブロック変数が関連付けられている変数をいう。この関連付けにより、たとえば、ブロック変数とブロック変数における位置とを指定することにより、ブロック変数に含まれる個別変数あるいは他のブロック変数の値が参照可能となる。換言すれば、ブロック変数と当該位置とを引数として与えることにより、対応する個別変数あるいはブロック変数の値を得ることができる。ブロック変数の設定の態様については、後述する。 The registration editor 232 realizes a function of registering variables used by the display device 150 and other participating stations. When this function is realized, variable names, variable data types, variable data sizes, and the like are associated with each other and temporarily stored in the data storage unit 240. Here, the variable refers to an identifier used for referring to data stored in an area specified by an address . For example, when a program that realizes predetermined processing is executed, the variable is referred to by the program. The variable includes an individual variable and a block variable including the individual variable. Here, the individual variable refers to a variable that cannot include other individual variables and block variables . A block variable refers to a variable associated with an individual variable or another block variable. With this association, for example, by specifying a block variable and a position in the block variable, it is possible to refer to the values of individual variables or other block variables included in the block variable. In other words, the value of the corresponding individual variable or block variable can be obtained by giving the block variable and the position as arguments. A mode of setting the block variable will be described later.

さらに、登録エディタ232は、当該システムにおけるデータ通信の設定を実現する。すなわち、通信ネットワーク上においてデータの通信処理を実現するための配信条件がデータ記憶部240に格納される。配信条件は、たとえばデータの送信元および送信先の参加局の識別名称、送信タイミング、送信対象となるデータが参照される変数の名称等を含む。   Furthermore, the registration editor 232 implements data communication settings in the system. That is, distribution conditions for realizing data communication processing on the communication network are stored in the data storage unit 240. The distribution conditions include, for example, identification names of data transmission source and transmission destination participating stations, transmission timing, names of variables to which data to be transmitted are referenced, and the like.

さらに、登録エディタ232は、当該システムにおいて、各変数を使用して実行されるデータの分析処理等(以下、適宜「アクション」と表わす。)のアプリケーションプログラムを実行するための設定データの登録を実現する。アクションは、表計算ソフトウェア、データベースソフトウェアその他の汎用アプリケーションを使用する処理を含む。設定データは、たとえば当該アプリケーションプログラムにおいて使用される変数の名称、当該汎用アプリケーションが実行されるコンピュータシステムへの送信タイミング等を含む。   Further, the registration editor 232 realizes registration of setting data for executing an application program such as data analysis processing executed using each variable (hereinafter, referred to as “action” as appropriate) in the system. To do. The action includes processing using spreadsheet software, database software, and other general-purpose applications. The setting data includes, for example, names of variables used in the application program, transmission timing to a computer system on which the general-purpose application is executed, and the like.

登録エディタ232は、予め準備されたこれらのデータおよびプログラムに基づいて、利用者が登録を希望する変数を生成する。登録エディタ232は、別の処理において作成された画面に配置された画像ブロックの各制御対象機器に対する入出力番号(アドレス)を割り付ける。登録エディタ232によって定義された変数、データ属性、あるいはアドレス等は、データ記憶部240に格納される。これらのデータは、利用者の指示に基づいて、所定の動作プログラムと共に実行可能形式、たとえばBCD(Binary Coded Decimal)コードに変換される。当該変換により生成されたデータは、通信部222を介して接続された表示器150に転送される。表示器150において、エディタ装置200から入力されたデータは、通信部222との間で一時的に接続される表示器150のメンテナンスポート154を介して、FEPROM(Flash Erasable Programmable ROM)164に転送され、所定の領域に格納される。   The registration editor 232 generates a variable that the user desires to register based on these data and programs prepared in advance. The registration editor 232 assigns an input / output number (address) to each control target device of the image block arranged on the screen created in another process. Variables, data attributes, addresses, and the like defined by the registration editor 232 are stored in the data storage unit 240. These data are converted into an executable format, for example, a BCD (Binary Coded Decimal) code together with a predetermined operation program based on a user instruction. The data generated by the conversion is transferred to the display device 150 connected via the communication unit 222. In the display device 150, data input from the editor device 200 is transferred to a FEPROM (Flash Erasable Programmable ROM) 164 via the maintenance port 154 of the display device 150 that is temporarily connected to the communication unit 222. Are stored in a predetermined area.

変数管理部234は、登録エディタ232により登録された個別変数からブロック変数の設定を実現する。この設定は、たとえば以下のようにして実現される。最初に、ユーザは、登録エディタ232を使用して個別変数を登録する。次に、ユーザは登録エディタ232を使用してブロック変数を登録する。ユーザは、変数管理部234を実行して、特定のブロック変数に含まれる個別変数を選択し、ブロック変数への関連付けを実行する。この関連付けが実行されると、各個別変数の名称、アドレス、属性等が、ブロック変数の名称をキーにして、それぞれ対応付けられる。これにより、たとえば、ブロック変数を参照する場合には、ブロック変数の名称と共にアドレスを指定することにより、ブロック変数に含まれる個別変数へのアクセスが可能になる。個別変数のブロック変数への関連付けを表わすデータは、データ記憶部240に格納される。   The variable management unit 234 realizes setting of block variables from the individual variables registered by the registration editor 232. This setting is realized as follows, for example. Initially, the user registers individual variables using the registration editor 232. Next, the user registers the block variable using the registration editor 232. The user executes the variable management unit 234, selects an individual variable included in a specific block variable, and executes association with the block variable. When this association is executed, the name, address, attribute, etc. of each individual variable are associated with each other using the name of the block variable as a key. As a result, for example, when referring to a block variable, an individual variable included in the block variable can be accessed by specifying an address together with the name of the block variable. Data representing the association of individual variables with block variables is stored in the data storage unit 240.

プログラムエディタ236は、登録エディタ232によって登録された参加局、変数、配信条件などのデータと、変数管理部234により生成されたブロック変数における個別変数の関連付けを表わすデータとに基づいて、表示器150に転送するためのデータを生成する。このデータは、たとえば表示器150において実行可能な形式に変換されたプログラムを含む。このようにして生成されたプログラムは、表示器150によるデータ処理、たとえば表示器150におけるデータの表示、他の表示器との通信その他の処理を実現することができる。   The program editor 236 displays the indicator 150 based on data such as participating stations, variables, and distribution conditions registered by the registration editor 232, and data representing the association of individual variables in the block variables generated by the variable management unit 234. Generate data to transfer to. This data includes, for example, a program converted into a format that can be executed by the display device 150. The program generated in this way can realize data processing by the display device 150, for example, display of data on the display device 150, communication with other display devices, and other processing.

データ記憶部240は、たとえばハードディスク装置により実現されるが、その他の記憶装置であってもよい。このデータ記憶部240は、制御部210により、データの書き込みあるいは読み出しが制御される。   The data storage unit 240 is realized by a hard disk device, for example, but may be another storage device. The data storage unit 240 is controlled by the control unit 210 to write or read data.

図2を再び参照して、表示器150について説明する。表示器150は、相互にデータバスで接続された、CPU(Central Processing Unit)152と、メンテナンスポート154と、メモリ160と、通信コントローラ166と、VRAM(Video RAM)168と、グラフィックコントローラ170と、ディスプレイ172と、タッチパネル174と、タッチパネルコントローラ176と、I/O(Input/Output)制御IF(Interface)178と、I/Oユニット179とを含む。   The display 150 will be described with reference to FIG. 2 again. The display 150 includes a CPU (Central Processing Unit) 152, a maintenance port 154, a memory 160, a communication controller 166, a VRAM (Video RAM) 168, a graphic controller 170, which are connected to each other via a data bus. A display 172, a touch panel 174, a touch panel controller 176, an I / O (Input / Output) control IF (Interface) 178, and an I / O unit 179 are included.

メモリ160は、DRAM(Dynamic RAM)162と、FEPROM164とを含む。I/Oユニット179は、制御対象機器196,198その他の機器を接続するための入出力端子、入出力回路等を含む。この場合、複数の入出力端子が、備えられてもよい。I/O制御IF178は、CPU152とI/Oユニット179との間の信号の授受を仲介するインターフェース回路である。I/O制御IF178は、入出力メモリ、D/A(Digital to Analog)変換器、A/D(Analog to Digital)変換器等を含む。   The memory 160 includes a DRAM (Dynamic RAM) 162 and a FEPROM 164. The I / O unit 179 includes input / output terminals, input / output circuits, and the like for connecting control target devices 196, 198 and other devices. In this case, a plurality of input / output terminals may be provided. The I / O control IF 178 is an interface circuit that mediates transmission / reception of signals between the CPU 152 and the I / O unit 179. The I / O control IF 178 includes an input / output memory, a D / A (Digital to Analog) converter, an A / D (Analog to Digital) converter, and the like.

CPU152は、FEPROM164に格納されたプログラムに基づいて、制御ユニット180との通信処理、ディスプレイ172の表示処理等を実行する。CPU152はまた、タッチパネル174における入力に基づいて、その入力に対応する処理を実行する。   The CPU 152 executes communication processing with the control unit 180, display processing of the display 172, and the like based on a program stored in the FEPROM 164. The CPU 152 also executes processing corresponding to the input based on the input on the touch panel 174.

メンテナンスポート154は、表示器150の保守時等において一時的に使用されるポートである。表示器150に表示させる画面を変更する場合、あるいは画面の表示制御の設定を変更する場合等において、新しいデータがメンテナンスポート154から入力される。これにより、表示器150と制御ユニット180との通信が妨げられることなく、表示器150が実行する制御プログラム、当該画面の表示のためのデータ等を更新することができる。   The maintenance port 154 is a port that is temporarily used when the display device 150 is maintained. New data is input from the maintenance port 154 when the screen to be displayed on the display 150 is changed or when the display control setting of the screen is changed. Thereby, the control program executed by the display unit 150, data for displaying the screen, and the like can be updated without hindering communication between the display unit 150 and the control unit 180.

DRAM162は、主にディスプレイ172における表示制御その他の処理に用いられるデータを一時的に記憶する。FEPROM164は、書換可能なフラッシュメモリである。フラッシュメモリは、稼動部を持たず、また衝撃に強いため、制御ユニット180に接続される環境が劣悪であっても、安定して作動することができる。   The DRAM 162 temporarily stores data mainly used for display control and other processing in the display 172. The FEPROM 164 is a rewritable flash memory. Since the flash memory does not have an operating part and is strong against impact, it can operate stably even if the environment connected to the control unit 180 is poor.

通信コントローラ166は、CPU152の制御により、制御ユニット180との間でデータ通信を行なう。通信されるデータには、制御ユニット180から報告される、実績その他の稼動状況を表わす操業データ、あるいは、表示器150から制御ユニット180に送信される設定データ等が含まれる。   The communication controller 166 performs data communication with the control unit 180 under the control of the CPU 152. The data to be communicated includes operation data that is reported from the control unit 180 and that represents actual results and other operating conditions, or setting data that is transmitted from the display unit 150 to the control unit 180.

VRAM168は、CPU152の制御により画面表示用のデータを一時的に保存する。このデータは、グラフィックコントローラ170に読み出され、ディスプレイ172に出力される。これにより、ディスプレイ172は、所定の画面を表示することができる。   The VRAM 168 temporarily stores screen display data under the control of the CPU 152. This data is read by the graphic controller 170 and output to the display 172. Thereby, the display 172 can display a predetermined screen.

タッチパネルコントローラ176は、タッチパネル174とデータバスとの間に配置され、タッチパネル174の押下を検出する。タッチパネルコントローラ176がその押下を検出すると、その位置あるいは入力されたデータは、メモリ160に出力される。   The touch panel controller 176 is disposed between the touch panel 174 and the data bus, and detects pressing of the touch panel 174. When the touch panel controller 176 detects the pressing, the position or input data is output to the memory 160.

上記の構成のように、本実施の形態に係る表示器150は、I/O制御IF178およびI/Oユニット179を有するため、制御ユニット180を介することなく、制御対象機器に接続することができる。したがって、表示器150は、たとえば制御対象機器196,198の状態の表示あるいは動作の制御の指示を直接実行するように構成してもよい。   Since the display device 150 according to the present embodiment has the I / O control IF 178 and the I / O unit 179 as in the above configuration, it can be connected to the control target device without passing through the control unit 180. . Therefore, the display device 150 may be configured to directly execute, for example, a display of the state of the control target devices 196 and 198 or an operation control instruction.

なお、表示器150の構成は、上記のものに限られない。たとえば、プログラマブル表示器は、グラフィック表示を行なうため、操作盤、スイッチ、表示灯などの機能を有する他、デバイスその他の制御対象機器の稼動状況や作業指示のような管理のための各種のモニタ、機器に対する設定値を入力する端末としての機能を備えていればよい。   The configuration of the display 150 is not limited to the above. For example, the programmable display has a function such as an operation panel, a switch, an indicator light, etc. for performing graphic display, as well as various monitors for management such as operation status and work instructions of devices and other controlled devices, It suffices to have a function as a terminal for inputting a setting value for a device.

また、本実施の形態においては、表示器150は、制御対象機器等の状態を表わすデータの表示画面を有するユーザインターフェース機能を備える制御装置として機能する。しかし、制御装置の態様は、表示器150の構成でなくてもよい。たとえば、他の局面において、本発明に係る構成を備える制御装置は、画面の表示機能を備えず、専用プロトコルにより表わされるデータと、共通プロトコルにより表わされるデータとを変換する機能を備えるものであってもよい。すなわち、複数の個別変数が含まれるブロック変数に含まれるデータの通信機能と変換機能とを備える装置であってもよい。当該装置でも、ブロック変数へのアクセスにより複数の個別変数のデータの読み出し、送信データの生成、書き込みなどを実現することができるため、通信データ量の抑制、データ処理の時間の短縮などを達成することができる。   In the present embodiment, display device 150 functions as a control device having a user interface function having a data display screen representing the state of the control target device or the like. However, the aspect of the control device may not be the configuration of the display 150. For example, in another aspect, a control device having a configuration according to the present invention does not have a screen display function but has a function of converting data represented by a dedicated protocol and data represented by a common protocol. May be. That is, a device having a communication function and a conversion function for data included in a block variable including a plurality of individual variables may be used. Even in this device, it is possible to read data of multiple individual variables, generate transmission data, write data, etc. by accessing block variables, thereby achieving reduction of communication data amount, shortening of data processing time, etc. be able to.

このような表示器で表示される制御画面は、画面作成ソフトウェアによって利用者が作成することができる。このようなソフトウェアがコンピュータで起動されると、編集のための画面が表示される。利用者は、その画面において、制御画面を構成する画像ブロックを任意に使用したり、操作の可否を設定することができる。本実施の形態に係るエディタ装置200は、画面作成ソフトウェアが実行されるコンピュータシステムにおいても実現可能であるし、別個のコンピュータシステムにおいても実現可能である。画面の作成の態様は特に限られない。   A control screen displayed on such a display device can be created by a user using screen creation software. When such software is activated on a computer, a screen for editing is displayed. The user can arbitrarily use the image blocks constituting the control screen on the screen, and set whether or not the operation can be performed. Editor apparatus 200 according to the present embodiment can be realized in a computer system in which screen creation software is executed, or can be realized in a separate computer system. The aspect of screen creation is not particularly limited.

ここで、上記のブロック変数および個別変数が表示器150において使用される場合には、個別変数は、当該画面中に表示される画像(すなわち画像ブロック)に関連付けられているものもある。この画像は、表示器150に接続される制御対象機器、あるいは表示器150に接続されている制御ユニット180が制御可能な制御対象機器における動作の状態を表わすための画像である。他方、上述の他の局面における制御装置のように、単にデータの変換機能と通信機能とを実現する装置において当該ブロック変数および当該個別変数が使用される場合には、個別変数は、画像ブロックに関連付けられなくてもよい。   Here, when the block variable and the individual variable are used in the display device 150, the individual variable may be associated with an image (that is, an image block) displayed on the screen. This image is an image for representing the state of operation of the control target device connected to the display device 150 or the control target device that can be controlled by the control unit 180 connected to the display device 150. On the other hand, when the block variable and the individual variable are used in a device that simply realizes the data conversion function and the communication function, like the control device in the other aspect described above, the individual variable is stored in the image block. It does not have to be associated.

図2をさらに参照して、表示器150に接続される制御ユニット180について説明する。制御ユニット180は、ネットワーク190を介して表示器150に接続される。制御ユニット180はさらに、制御対象機器192,194に接続される。制御ユニット180は、制御機能部として、予め設定された制御プログラムを実行することにより、制御対象機器192,194の動作を制御する。制御対象機器192,194は、たとえば自動組立て機、ベルトコンベアなどであるが、これらの機器に限られない。また、制御ユニット180に接続される制御対象機器の数は、特定の数に限られない。   With reference to FIG. 2 further, the control unit 180 connected to the display 150 will be described. The control unit 180 is connected to the display device 150 via the network 190. The control unit 180 is further connected to the control target devices 192 and 194. The control unit 180 controls the operation of the control target devices 192 and 194 by executing a preset control program as a control function unit. The control target devices 192 and 194 are, for example, automatic assembly machines and belt conveyors, but are not limited to these devices. Further, the number of control target devices connected to the control unit 180 is not limited to a specific number.

図3を参照して、エディタ装置200を実現するためのコンピュータシステム300について説明する。図3は、コンピュータシステム300のハードウェア構成を表すブロック図である。   A computer system 300 for realizing the editor device 200 will be described with reference to FIG. FIG. 3 is a block diagram illustrating a hardware configuration of the computer system 300.

コンピュータシステム300は、相互にデータバスで接続されたCPU310と、マウス320と、キーボード330と、RAM340と、ハードディスク350と、CD−ROM駆動装置360と、モニタ380と、通信IF(Interface)390とを含む。駆動装置360には、CD−ROM362が装着される。   The computer system 300 includes a CPU 310, a mouse 320, a keyboard 330, a RAM 340, a hard disk 350, a CD-ROM drive device 360, a monitor 380, a communication IF (Interface) 390 that are connected to each other via a data bus. including. A CD-ROM 362 is attached to the driving device 360.

コンピュータシステム300において、エディタ装置200を実現するための処理は、各ハードウェアとCPU310により実行されるソフトウェアとによって実現される。このようなソフトウェアは、RAM340あるいはハードディスク350に予め格納されている場合がある。あるいはCD−ROM362その他の着脱可能な情報記録媒体に格納されて流通し、駆動装置360その他のデータ読取装置によりその記録媒体から読み取られて、ハードディスク350に一旦格納される場合もある。そのソフトウェアは、ハードディスク350から読み出されて、CPU310によって実行される。   In the computer system 300, the processing for realizing the editor device 200 is realized by each hardware and software executed by the CPU 310. Such software may be stored in the RAM 340 or the hard disk 350 in advance. Alternatively, the information may be stored in a CD-ROM 362 or other removable information recording medium, distributed, read from the recording medium by the driving device 360 or other data reading device, and temporarily stored in the hard disk 350. The software is read from the hard disk 350 and executed by the CPU 310.

図3に示されるコンピュータシステム300のハードウェア自体は、一般的なものである。したがって、本発明の最も本質的な部分は、RAM340、ハードディスク350、CD−ROM362その他の情報記録媒体に格納されたソフトウェアであるともいえる。なお、コンピュータシステム300の各ハードウェアの動作は周知であるので、ここではその説明は繰り返さない。   The hardware itself of the computer system 300 shown in FIG. 3 is general. Therefore, it can be said that the most essential part of the present invention is software stored in the RAM 340, the hard disk 350, the CD-ROM 362 or other information recording medium. Since the operation of each hardware of computer system 300 is well known, description thereof will not be repeated here.

図4を参照して、本実施の形態に係るエディタ装置200のデータ構造について説明する。図4は、エディタ装置200を実現するコンピュータシステム300のハードディスク350におけるデータの格納の一態様を表わす図である。   With reference to FIG. 4, the data structure of editor apparatus 200 according to the present embodiment will be described. FIG. 4 is a diagram illustrating an aspect of data storage in hard disk 350 of computer system 300 that implements editor device 200.

使用者の入力により定義されたブロック変数を表わすデータは、領域F402,404,406などに格納されている。使用者の入力により定義された個別変数を表わすデータは、領域F412〜F418にそれぞれ格納されている。各個別変数には、後述するように、使用者の入力により定義されたデータタイプ、個別変数の配列の態様、アドレス、デバイス個数その他の情報が関連付けられて格納されている。   Data representing block variables defined by user input is stored in areas F402, 404, 406, and the like. Data representing individual variables defined by user input is stored in regions F412 to F418, respectively. As will be described later, each individual variable stores a data type defined by user input, an arrangement mode of individual variables, an address, the number of devices, and other information in association with each other.

すなわち、使用者がブロック変数と個別変数とを関連付けた場合、ブロック変数を識別するためのデータは、領域F422に格納される。そのブロック変数に対応して関連付けられた個別変数を識別するためのデータは、領域F424に格納される。このデータは、使用者が変数を特定してデータ処理の設定を行なう場合に使用される。データ処理には、上記のように、他の表示器との間のデータ通信、中央監視装置100その他の上位システムへのデータ送信等が含まれる。   That is, when the user associates a block variable with an individual variable, data for identifying the block variable is stored in the region F422. Data for identifying the individual variable associated with the block variable is stored in area F424. This data is used when the user specifies a variable and sets data processing. As described above, the data processing includes data communication with other display devices, data transmission to the central monitoring apparatus 100 and other host systems.

個別変数のデータタイプを表わすデータは、領域F426に格納される。なお、個別変数のブロック変数に対する関連付けに関し、異なるデータタイプの個別変数が割り当て可能である。たとえば、ブロック変数「Block1」において、データタイプが「16Bit(Signed)」である個別変数および「Bit」である個別変数がそれぞれ割り当てられてもよい。   Data representing the data type of the individual variable is stored in area F426. Note that individual variables of different data types can be assigned for associating individual variables with block variables. For example, in the block variable “Block 1”, an individual variable whose data type is “16 Bit (Signed)” and an individual variable whose data type is “Bit” may be respectively assigned.

個別変数のデータに対応するアドレスの属性を表わす情報は、領域F428に格納される。個別変数のデータを格納するために確保されるデータ領域を表わすアドレスは、領域F430に格納される。なお、当該データ領域は、連続的に確保される必要はない。すなわち、各データ領域は、それぞれ離散して確保されてもよい。アドレスが正確に定義されている限り、各個別変数は、連続的にあるいは非連続的に割り当てられたいずれの領域においても格納可能であり、そして参照可能である。個別変数に対応するデバイスの個数を表わす情報は、領域F432に格納される。使用者が定義したその他の情報は、領域F434に格納される。   Information indicating the attribute of the address corresponding to the data of the individual variable is stored in area F428. An address representing a data area reserved for storing individual variable data is stored in area F430. Note that the data area need not be secured continuously. That is, each data area may be secured separately. As long as the address is correctly defined, each individual variable can be stored and referenced in any area allocated continuously or non-sequentially. Information indicating the number of devices corresponding to the individual variable is stored in area F432. Other information defined by the user is stored in area F434.

より具体的には、たとえば個別変数「_D10102_BIT%b」は、アドレスD101におけるビット列「2」に関連付けられている。個別変数「_D10102_BITB1」は、アドレスD101におけるビット列「8」に関連付けられている。   More specifically, for example, the individual variable “_D10102_BIT% b” is associated with the bit string “2” in the address D101. The individual variable “_D10102_BITB1” is associated with the bit string “8” in the address D101.

次に、図5〜図7を参照して、本実施の形態に係るエディタ装置200の制御構造について説明する。図5は、エディタ装置200を実現するコンピュータシステム300のCPU310が実行する処理の手順を表わすフローチャートである。この処理は、使用者が編集プログラムの実行指示を入力した場合に、当該プログラムが実行されることにより実現される。   Next, with reference to FIGS. 5 to 7, a control structure of editor device 200 according to the present embodiment will be described. FIG. 5 is a flowchart showing a procedure of processing executed by CPU 310 of computer system 300 realizing editor device 200. This processing is realized by executing the program when the user inputs an instruction to execute the editing program.

図5を参照して、ステップS502にて、CPU310は、使用者の指示に応答して、参加局、個別変数、ブロック変数その他表示器150において使用されるデータを登録するためのメイン画面を表示する。ステップS504にて、CPU310は、使用者により入力される指示に基づいて、参加局の登録メニューが選択されたか否かを判断する。その登録メニューが選択されたと判断すると(ステップS504にてYES)、処理はステップS506に移される。そうでない場合には(ステップS504にてNO)、処理はステップS508に移される。   Referring to FIG. 5, in step S <b> 502, CPU 310 displays a main screen for registering participating stations, individual variables, block variables and other data used in display device 150 in response to a user instruction. To do. In step S504, CPU 310 determines whether or not the registration menu of the participating station has been selected based on an instruction input by the user. If it is determined that the registration menu has been selected (YES in step S504), the process proceeds to step S506. If not (NO in step S504), the process proceeds to step S508.

ステップS506にて、CPU310は、マウス320あるいはキーボード330を介して入力される指示に基づいて、参加局の登録処理を実行する。この処理が実行されると、図1に示されるFAシステム10を構成するための表示器150が登録され、データのコピー、配信その他の通信処理が可能になる。   In step S506, CPU 310 executes a registration process for participating stations based on an instruction input via mouse 320 or keyboard 330. When this process is executed, the display device 150 for configuring the FA system 10 shown in FIG. 1 is registered, and data copy, distribution, and other communication processes can be performed.

ステップS508にて、CPU310は、使用者により入力される指示に基づいて変数の登録メニューが選択されたか否かを判断する。そのメニューが選択されたと判断すると(ステップS508にてYES)、処理はステップS600に移される。そうでない場合には(ステップS508にてNO)、処理はステップS512に移される。   In step S508, CPU 310 determines whether or not a variable registration menu has been selected based on an instruction input by the user. If it is determined that the menu has been selected (YES in step S508), the process proceeds to step S600. If not (NO in step S508), the process proceeds to step S512.

ステップS600にて、CPU310は、後述する変数の登録処理を実行する。この処理が実行されると、制御対象機器の状態あるいは動作を制御するためのデータ、通信の対象となるデータ等が対応付けられる変数が登録される。   In step S600, CPU 310 executes a variable registration process to be described later. When this processing is executed, variables for associating data for controlling the state or operation of the device to be controlled, data to be communicated, and the like are registered.

ステップS512にて、CPU310は、使用者により入力される指示に基づいて、アクションのメニューが選択されたか否かを判断する。ここで、アクションとは、上述のように、表示器150に収集されるデータに基づいて行なわれるデータ処理、たとえばデータの集計あるいはログの記録などの処理を含む。この処理は、たとえば表計算ソフトあるいはデータベースソフトなどにより実現される。アクションのメニューが選択されたと判断すると(ステップS512にてYES)、処理はステップS514に移される。そうでない場合は(ステップS512にNO)、処理はステップS516に移される。   In step S512, CPU 310 determines whether an action menu has been selected based on an instruction input by the user. Here, the action includes, as described above, data processing performed based on data collected by the display device 150, for example, processing such as data aggregation or log recording. This process is realized by, for example, spreadsheet software or database software. If it is determined that an action menu has been selected (YES in step S512), the process proceeds to step S514. If not (NO in step S512), the process proceeds to step S516.

ステップS514にて、CPU310は、アクションの登録処理を実行する。この処理が実行されると、使用者が選択したブロック変数に含まれる個別変数を使用するアプリケーションを実行するための設定が行なわれる。すなわち、当該アプリケーションの実行時に参照される個別変数の関連付けが、ブロック変数を介して行なわれる。たとえば、ブロック変数の名称と当該ブロック変数における個別変数の位置とが、そのアプリケーションの処理に組み込まれる。これにより、使用者は、個別変数の設定を行なうことなく、ブロック変数を使用して設定することにより、データ処理のための設定を行うことができる。   In step S514, CPU 310 executes action registration processing. When this process is executed, settings for executing an application that uses the individual variable included in the block variable selected by the user are performed. That is, the association of the individual variables that are referred to when the application is executed is performed via the block variables. For example, the name of the block variable and the position of the individual variable in the block variable are incorporated in the processing of the application. Thereby, the user can set for data processing by setting using a block variable, without setting an individual variable.

ステップS516にて、CPU310は、使用者により入力される指示に基づいて保存メニューが選択されたか否かを判断する。保存メニューが選択されたと判断すると(ステップS516にてYES)、処理はステップS518に移される。そうでない場合には(ステップS516にてNO)、処理はステップS520に移される。ステップS518にて、CPU310は、RAM340の所定の領域に一時的に格納されているデータを、ハードディスク350の所定の領域に格納する。   In step S516, CPU 310 determines whether a save menu has been selected based on an instruction input by the user. If it is determined that the save menu has been selected (YES in step S516), the process proceeds to step S518. If not (NO in step S516), the process proceeds to step S520. In step S518, CPU 310 stores the data temporarily stored in the predetermined area of RAM 340 in the predetermined area of hard disk 350.

ステップS520にて、CPU310は、使用者により入力される指示に基づいて転送メニューが選択されたか否かを判断する。転送メニューが選択されたと判断すると(ステップS520にてYES)、処理はステップS700に移される。そうでない場合には(ステップS520にてNO)、処理はステップS522に移される。ステップS700にて、CPU310は、予め定められたデータの転送処理を実行する。この処理が実行されると、RAM340あるいはハードディスク350に格納されているデータは、ケーブル250を介して接続される表示器150に転送するために必要なデータ形式に変換される。   In step S520, CPU 310 determines whether a transfer menu has been selected based on an instruction input by the user. If it is determined that the transfer menu has been selected (YES in step S520), the process proceeds to step S700. If not (NO in step S520), the process proceeds to step S522. In step S700, CPU 310 executes a predetermined data transfer process. When this processing is executed, the data stored in the RAM 340 or the hard disk 350 is converted into a data format necessary for transfer to the display device 150 connected via the cable 250.

ステップS522にて、CPU310は、使用者により入力される指示に基づいてプログラムの終了が指示されたか否かを判断する。プログラムの終了が指示されたと判断すると(ステップS522にてYES)、処理は終了する。そうでない場合には(ステップS522にてNO)、処理はステップS504に戻される。   In step S522, CPU 310 determines whether the end of the program is instructed based on the instruction input by the user. If it is determined that the end of the program has been instructed (YES in step S522), the process ends. If not (NO in step S522), the process returns to step S504.

図6は、CPU310が実行する変数の登録処理の手順を表わすフローチャートである。登録される変数には、個別変数とブロック変数とが含まれる。   FIG. 6 is a flowchart showing the procedure of variable registration processing executed by CPU 310. Registered variables include individual variables and block variables.

ステップS602にて、CPU310は、プログラムを実行して、モニタ380に変数の登録を行なうための画面を表示させる。ステップS604にて、CPU310は、マウス320あるいはキーボード330を介して入力される個別変数の登録のためのデータの入力を受け付ける。ステップS606にて、CPU310は、使用者により入力される指示に基づいてハードディスク350の所定の領域に個別変数のデータを格納する。   In step S602, CPU 310 executes the program and causes monitor 380 to display a screen for registering variables. In step S 604, CPU 310 accepts input of data for registering individual variables input via mouse 320 or keyboard 330. In step S606, CPU 310 stores the individual variable data in a predetermined area of hard disk 350 based on an instruction input by the user.

ステップS608にて、CPU310は、使用者により入力される指示に基づいてブロック変数の登録のための画面の表示指示を検知する。この処理は、たとえば使用者が表示画面に示される「ブロック変数の登録」と表わされたボタン(図示しない)を押下することにより実行される。ここで、ブロック変数とは、他の変数が関連付けられる変数をいう。なお、ブロック変数に関連付けられる各個別変数のデータ型は、同一である必要はなく、異なってもよい。たとえば、ビット型の個別変数と整数型の個別変数とが含まれていてもよい。また、ブロック変数に含まれる各個別変数のアドレスは、必ずしも連続である必要はなく、離散的であってもよい。さらに、新たなブロック変数に、他のブロック変数が関連付けられてもよい。この場合、ブロック変数に関連付けられる変数として、他のブロック変数を選択することにより、当該他のブロック変数を識別するデータが、当該新たなブロック変数に関連付けられる。   In step S608, CPU 310 detects an instruction to display a screen for registering block variables based on an instruction input by the user. This process is executed, for example, when the user presses a button (not shown) represented as “register block variable” shown on the display screen. Here, the block variable means a variable associated with another variable. Note that the data type of each individual variable associated with the block variable need not be the same, and may be different. For example, a bit type individual variable and an integer type individual variable may be included. Further, the addresses of the individual variables included in the block variable are not necessarily continuous, and may be discrete. Furthermore, another block variable may be associated with the new block variable. In this case, by selecting another block variable as a variable associated with the block variable, data for identifying the other block variable is associated with the new block variable.

ステップS610にて、CPU310は、マウス320あるいはキーボード330を介して入力されるブロック変数の登録のためのデータを受け付ける。入力されたデータは、RAM340の所定の領域に一時的に格納される。ステップS612にて、CPU310は、使用者により入力される指示に基づいてハードディスク350の所定の領域に入力データを格納する。   In step S610, CPU 310 accepts data for registering a block variable input via mouse 320 or keyboard 330. The input data is temporarily stored in a predetermined area of the RAM 340. In step S612, CPU 310 stores the input data in a predetermined area of hard disk 350 based on an instruction input by the user.

ステップS614にて、CPU310は、マウス320あるいはキーボード330を介して入力されるデータに基づいて、ブロック変数に関連付けられる個別変数のデータの入力を受け付ける。この関連付けは、たとえば使用者が選択したブロック変数について、所定の領域に、既に登録されている個別変数の名称を入力することにより実現される。あるいは、名称の入力に代えて、いわゆるプルダウンメニュー形式のように、ブロック変数に関連付け可能な個別変数を一覧表示させ、その表示の中から関連付けの対象となる個別変数を選択するようにしてもよい。なお、当該個別変数のデータは、すべて入力される必要はなく、たとえば既に登録されている他のブロック変数に使用されているデータが流用されてもよい。流用されるデータには、各個別変数のデータ属性等が含まれる。このようにすると、同一の型属性を有する複数のブロック変数を、効率よく登録することができる。   In step S614, CPU 310 accepts input of individual variable data associated with a block variable based on data input via mouse 320 or keyboard 330. This association is realized, for example, by inputting the name of an already registered individual variable in a predetermined area for the block variable selected by the user. Alternatively, instead of inputting a name, a list of individual variables that can be associated with block variables may be displayed as in a so-called pull-down menu format, and an individual variable to be associated may be selected from the display. . Note that it is not necessary to input all the data of the individual variables. For example, data used for other registered block variables may be used. The diverted data includes the data attributes of each individual variable. In this way, a plurality of block variables having the same type attribute can be registered efficiently.

ステップS616にて、CPU310は、外部から入力されたデータに基づいて、RAM340上のデータの保存指示が入力されたか否かを判断する。その指示が入力されたと判断すると(ステップS616にてYES)、処理はステップS618に移される。そうでない場合には(ステップS616にてNO)、処理はステップS614に戻される。   In step S616, CPU 310 determines whether an instruction to save data on RAM 340 has been input based on data input from the outside. If it is determined that the instruction has been input (YES in step S616), the process proceeds to step S618. If not (NO in step S616), the process returns to step S614.

ステップS618にて、CPU310は、定義されたブロック変数と関連付けが指定された個別変数の各々とを関連付けるためのデータを生成する。具体的には、たとえば特定のブロック変数を識別するデータに対して、関連付けが指定された個別変数の各々の変数名と、各個別変数のアドレスとが付与される。なお、関連付けの態様は、これに限られない。   In step S618, CPU 310 generates data for associating the defined block variable with each individual variable for which association is designated. Specifically, for example, the variable name of each individual variable for which association is specified and the address of each individual variable are assigned to data for identifying a specific block variable. The association mode is not limited to this.

ステップS620にて、CPU310は、使用者による指示に基づいてハードディスク350の所定の領域に関連付けのためのデータを格納する。この処理が実行されると、当該ブロック変数と個別変数とは、図4に示される領域F422からF434のような態様で格納される。   In step S620, CPU 310 stores data for association in a predetermined area of hard disk 350 based on an instruction from the user. When this processing is executed, the block variable and the individual variable are stored in a manner like areas F422 to F434 shown in FIG.

図7は、エディタ装置200を実現するコンピュータシステム300のCPU310が実行するデータの転送処理の手順を表わすフローチャートである。   FIG. 7 is a flowchart showing a procedure of data transfer processing executed by CPU 310 of computer system 300 realizing editor device 200.

ステップS710にて、CPU310は、使用者による操作に応じて、ハードディスク350から転送可能な変数のデータをRAM340に読み出す。ステップS720にて、CPU310は、使用者による操作に基づいて、データ転送の対象となる変数の選択を検知する。ステップS730にて、CPU310は、RAM340の所定の領域に選択された変数のデータを一時的に格納する。ステップS740にて、CPU310は、転送先の表示器(たとえば表示器150)の選択を検知する。   In step S710, CPU 310 reads variable data that can be transferred from hard disk 350 into RAM 340 in accordance with an operation by the user. In step S720, CPU 310 detects selection of a variable to be a data transfer target based on an operation by the user. In step S730, CPU 310 temporarily stores data of the selected variable in a predetermined area of RAM 340. In step S740, CPU 310 detects selection of a transfer destination display device (for example, display device 150).

ステップS750にて、CPU310は、転送処理の実行指示が入力されたか否かを判断する。その実行指示が入力されたと判断すると(ステップS750にてYES)、処理はステップS760に移される。そうでない場合には(ステップS750にてNO)、処理はステップS720に戻される。   In step S750, CPU 310 determines whether or not a transfer process execution instruction has been input. If it is determined that the execution instruction has been input (YES in step S750), the process proceeds to step S760. If not (NO in step S750), the process returns to step S720.

ステップS760にて、CPU310は、RAM340に格納されている各データの形式を予め定められたデータ形式に変換して本体データを生成する。ここで本体データとは表示器150への転送の際に送信される具体的なデータをいう。ステップS770にて、CPU310は、生成した本体データに予め定められた項目を有するヘッダデータを付加して転送データを生成する。ステップS780にて、CPU310は、転送データのデータ形式を転送先に応じて予め定められたデータ形式に変換する。さらに、CPU310は、使用者により選択された他の表示器(たとえば表示器150)に、生成した転送データを送信する。その後、処理はメイン処理に戻される。なお、転送処理の態様は、図7に示されるものに限られない。   In step S760, CPU 310 converts the format of each data stored in RAM 340 into a predetermined data format, and generates main body data. Here, the main body data is specific data transmitted at the time of transfer to the display device 150. In step S770, CPU 310 generates transfer data by adding header data having predetermined items to the generated main body data. In step S780, CPU 310 converts the data format of the transfer data into a data format determined in advance according to the transfer destination. Further, CPU 310 transmits the generated transfer data to another display (for example, display 150) selected by the user. Thereafter, the process returns to the main process. The mode of the transfer process is not limited to that shown in FIG.

ここで、図8を参照して、エディタ装置200により生成される転送データの構造について説明する。図8は、図7に示される転送処理の実行時に生成される転送データの構成を概念的に表わす図である。   Here, the structure of the transfer data generated by the editor device 200 will be described with reference to FIG. FIG. 8 is a diagram conceptually showing the structure of transfer data generated when the transfer process shown in FIG. 7 is executed.

転送データは、送信ヘッダD810と本体データD820とを含む。送信ヘッダD810は、データ項目として、送信先アドレス、送信元アドレス、送信日時、タスク名、およびブロック名を含む。タスク名は、送信先の装置において実行される処理を特定するための名称(たとえば、データ配信、実績報告等)である。ブロック名は、たとえば図4の領域F422に示されるブロック変数の名称である。なお、複数のブロック変数が特定のタスクに含まれており、各ブロック変数が当該タスクに関連付けられている場合には、当該タスクの名称のみがヘッダに含まれる構成であってもよい。   The transfer data includes a transmission header D810 and main body data D820. The transmission header D810 includes a transmission destination address, a transmission source address, a transmission date and time, a task name, and a block name as data items. The task name is a name (for example, data distribution, performance report, etc.) for specifying a process to be executed in the transmission destination apparatus. The block name is, for example, the name of a block variable shown in a region F422 in FIG. When a plurality of block variables are included in a specific task and each block variable is associated with the task, only the name of the task may be included in the header.

本体データD820は、データ項目として、転送処理の実行時に指定された変数を表わすデータ、たとえば第1の変数データ、第2の変数データなどを含む。各々の変数データは、ブロック変数との関連付けが分かるデータである。転送データは、送信前に予め定められたデータ形式(たとえばBCDコード)に変換される。このようなデータが指定された送信先に送信されると、当該転送データを受信した装置は、そのデータに含まれる各変数データを、所定の領域に格納する。転送データは、実行可能な形式で作成されているため、受信した装置(たとえば表示器150)は、そのデータに基づいて所定の処理を実行することができる。   Body data D820 includes, as data items, data representing variables designated at the time of execution of transfer processing, such as first variable data and second variable data. Each variable data is data that can be associated with a block variable. The transfer data is converted into a predetermined data format (for example, BCD code) before transmission. When such data is transmitted to the designated transmission destination, the apparatus that has received the transfer data stores each variable data included in the data in a predetermined area. Since the transfer data is created in an executable format, the receiving device (for example, the display device 150) can execute a predetermined process based on the data.

また、係る構成を有する転送データは、表示器間のデータ配信時においても使用可能である。この場合、送信先アドレスは、他の表示器のネットワークアドレスである。送信元アドレスは、データの配信元の表示器のネットワークアドレスである。ブロック名は、各表示器において定義されているブロック変数の名称である。このような送信ヘッダに対して、本体データに、当該ブロック変数に関連付けられる個別変数のデータがそれぞれ格納される。   Also, the transfer data having such a configuration can be used at the time of data distribution between the display units. In this case, the transmission destination address is the network address of another display device. The transmission source address is the network address of the display device from which data is distributed. The block name is a name of a block variable defined in each display device. For such a transmission header, individual variable data associated with the block variable is stored in the body data.

上記の構成を有するデータが、特定の表示器から他の表示器あるいは中央監視装置100等に送信されると、送信先の各装置は、送信ヘッダに含まれるブロック変数を認識して、本体データに含まれている各個別変数に対応するデータを読み取ることができる。これにより、相互にデータを通信可能な装置間におけるデータの同一性を維持することができる。   When data having the above-described configuration is transmitted from a specific display to another display or the central monitoring device 100 or the like, each transmission destination device recognizes a block variable included in the transmission header, and main body data The data corresponding to each individual variable included in can be read. Thereby, it is possible to maintain data identity between devices capable of communicating data with each other.

以上のようにして、本発明の実施の形態に係るエディタ装置200によると、使用者による選択操作に応じて、個別に登録された個別変数をブロック変数に関連付けるための処理が実行される。この処理が実行されると、ブロック変数には、当該個別変数を識別するデータ、データ型、アドレス等が関連付けられる。このようにすると、たとえば、使用者が、作成中の制御プログラムに、ブロック変数と当該ブロック変数における個別変数の位置とを特定するコードを含めて、ソースコードを記述することにより、ブロック変数に対するアクセスによって個別変数のデータを参照する処理を実現することができる。これにより、制御プログラムを効率よく作成することできる。また、ブロック変数が実際に使用される表示器その他の装置に転送可能なデータは、上記の関連付けが維持された状態で作成される。   As described above, according to the editor device 200 according to the embodiment of the present invention, processing for associating individually registered individual variables with block variables is executed in accordance with the selection operation by the user. When this process is executed, data, data type, address, etc. for identifying the individual variable are associated with the block variable. In this way, for example, the user can access the block variable by describing the source code including the code specifying the block variable and the position of the individual variable in the block variable in the control program being created. The process of referring to the data of the individual variable can be realized. Thereby, a control program can be created efficiently. Also, data that can be transferred to a display or other device in which the block variable is actually used is created in a state where the above association is maintained.

このデータが入力された表示器その他の装置は、複数の個別変数の各々により参照される各データを送信する場合、ブロック変数を送信対象に設定することにより、当該ブロック変数に関連付けられているすべての個別変数のデータを送信する。これにより、データ通信のパフォーマンスの低下を防止しつつ、装置間における複数のデータ項目の通信が容易に実現される。   When the display or other device to which this data is input transmits each data referenced by each of a plurality of individual variables, all the data associated with the block variable are set by setting the block variable as a transmission target. Send data for individual variables. As a result, communication of a plurality of data items between devices can be easily realized while preventing a decrease in data communication performance.

また、ブロック変数には、異なるデータ型の個別変数が関連付け可能である。したがって、ブロック変数を単位としてデータ通信を行うことにより、データ型が異なるデータの同時性を維持することができる。   In addition, individual variables of different data types can be associated with block variables. Therefore, by performing data communication in units of block variables, the simultaneity of data having different data types can be maintained.

また、プログラムの実行時に参照される変数をブロック変数とするプログラムを作成することができるため、階層化されたプログラムの設計を容易にすることができる。より特定的には、階層化されたプログラムの設計が容易になる。   In addition, since a program having block variables as variables that are referenced when the program is executed can be created, it is possible to easily design a hierarchical program. More specifically, it becomes easy to design a hierarchical program.

次に、図9を参照して、本発明の実施の形態に係る表示器150を実現するコンピュータシステム900について説明する。図9は、コンピュータシステム900のハードウェア構成を表わすブロック図である。   Next, a computer system 900 that implements the display device 150 according to the embodiment of the present invention will be described with reference to FIG. FIG. 9 is a block diagram showing a hardware configuration of computer system 900.

コンピュータシステム900は、CPU910と、キーボード930と、RAM940と、ハードディスク950と、CD−ROM駆動装置960と、モニタ980と、通信IF990とを含む。モニタ980は、予め定められた領域に対する指示の入力が可能なタッチパネル920を含む。CD−ROM駆動装置960には、CD−ROM962が装着される。   The computer system 900 includes a CPU 910, a keyboard 930, a RAM 940, a hard disk 950, a CD-ROM drive device 960, a monitor 980, and a communication IF 990. The monitor 980 includes a touch panel 920 that can input an instruction for a predetermined area. A CD-ROM 962 is attached to the CD-ROM drive 960.

コンピュータシステム900において、表示器150を実現するための処理は、各ハードウェアおよびCPU910により実行されるソフトウェアによって実現される。このようなソフトウェアは、RAM940あるいはハードディスク950に予め格納されている場合がある。あるいはCD−ROM962その他の着脱可能な情報記録媒体に格納されて流通し、CD−ROM駆動装置960その他のデータ読取装置によりその記録媒体から読み取られて、ハードディスク950に一旦格納される場合もある。そのソフトウェアは、ハードディスク950から読み出されて、CPU910によって実行される。   In the computer system 900, the processing for realizing the display device 150 is realized by each hardware and software executed by the CPU 910. Such software may be stored in the RAM 940 or the hard disk 950 in advance. Alternatively, the information may be stored in a CD-ROM 962 or other detachable information recording medium, distributed, read from the recording medium by a CD-ROM drive 960 or other data reader, and temporarily stored in the hard disk 950. The software is read from the hard disk 950 and executed by the CPU 910.

図9に示されるコンピュータシステム900のハードウェア自体は、一般的なものである。したがって、本発明の最も本質的な部分は、RAM940、ハードディスク950、CD−ROM962その他の情報記録媒体に格納されたソフトウェアであるともいえる。なお、コンピュータシステム900の各ハードウェアの動作は周知であるので、ここではその説明は繰り返さない。   The hardware itself of the computer system 900 shown in FIG. 9 is general. Therefore, it can be said that the most essential part of the present invention is software stored in the RAM 940, the hard disk 950, the CD-ROM 962, and other information recording media. Since the operation of each hardware of computer system 900 is well known, description thereof will not be repeated here.

図10を参照して、本実施の形態に係る表示器150のデータ構造について説明する。図10は、表示器150を実現するコンピュータシステム900のハードディスク950におけるデータの格納の態様を概念的に表わす図である。   With reference to FIG. 10, a data structure of display device 150 according to the present embodiment will be described. FIG. 10 is a diagram conceptually showing a mode of data storage in hard disk 950 of computer system 900 that implements display 150.

図10に示されるように、タスク名は、領域D1000に格納される。ここでタスク名とは使用者の設定により定められた一連の命令を特定する名称をいう。当該タスク名に対応した命令を実際に実行させるための起動条件を表わす番号は、領域D1010に格納される。データの配信元であるコピー元参加局を表わすデータは、領域D1020に格納される。配信の対象となるデータが格納されている変数は、領域D1030に格納される。データが配信されるコピー先参加局を表わすデータは、領域D1040に格納される。コピー先参加局においてデータが格納される場所は、領域D1050に格納される。   As shown in FIG. 10, the task name is stored in the area D1000. Here, the task name refers to a name that identifies a series of commands determined by user settings. A number representing an activation condition for actually executing an instruction corresponding to the task name is stored in area D1010. Data representing a copy source participating station that is a data distribution source is stored in area D1020. A variable in which data to be distributed is stored is stored in area D1030. Data representing the copy destination participating station to which the data is distributed is stored in area D1040. The location where the data is stored in the copy destination participating station is stored in area D1050.

上記の各タスクに関連付けられている起動条件番号は、具体的な作動条件に関連付けられている。起動条件番号は、領域D1060に格納される。各番号に対応付けられている第1の条件は、領域D1070に格納される。第2の条件は、それが存在する場合には領域D1080に格納される。第2の条件が設定されていない場合には、その領域にはたとえば「NULL」が格納される。なお、起動条件を構成する具体的な条件の数は図10に示されるものに限られない。   The activation condition number associated with each task is associated with a specific operation condition. The activation condition number is stored in area D1060. The first condition associated with each number is stored in area D1070. The second condition is stored in area D1080 if it exists. If the second condition is not set, for example, “NULL” is stored in the area. Note that the number of specific conditions constituting the activation condition is not limited to that shown in FIG.

このように、各タスクに対して予め設定された起動条件が関連付けられることにより、転送対象となるデータの性質に応じて、データ転送のタイミングを制御することができる。したがって、使用者は、コピー先の参加局において、実績データ、制御データその他のデータを必要に応じて適宜更新することができる。   As described above, the activation conditions set in advance for each task are associated with each other, so that the data transfer timing can be controlled in accordance with the nature of the data to be transferred. Therefore, the user can update the performance data, control data, and other data as necessary in the copy destination participating station.

さらに、ハードディスク350は、エディタ装置200において登録されたデータを格納している。すなわち、ハードディスク350は、図4に示されるようなブロック変数と個別変数との関連付けを表わすデータを実行可能な形式で記憶している。当該データは、ネットワークに接続されている表示器ごとに格納されている。したがって、後述するように、これらのデータを有する各表示器は、ブロック変数単位での通信が可能になるため、個別変数の通信のためのヘッダデータの送信が不要になる。   Further, the hard disk 350 stores data registered in the editor device 200. That is, hard disk 350 stores data representing the association between block variables and individual variables as shown in FIG. 4 in an executable format. The data is stored for each display connected to the network. Therefore, as will be described later, each display device having these data can perform communication in units of block variables, so that transmission of header data for communication of individual variables becomes unnecessary.

なお、表示器以外の装置、たとえば図1に示される中央監視装置100も、同様のデータ構造を格納していてもよい。これにより、各表示器からブロック単位で送信されるデータを識別することができる。また、そのデータに含まれる個別変数のデータを、上記の関連付けに基づいて取得することができる。したがって、複数の変数のデータがブロック変数に集約されて一括して送信された場合であっても、中央監視装置100は、各データの処理を個別に実行することができる。   A device other than the display device, for example, the central monitoring device 100 shown in FIG. 1 may store the same data structure. As a result, data transmitted from each display unit in blocks can be identified. Moreover, the data of the individual variable included in the data can be acquired based on the association. Therefore, even when data of a plurality of variables are aggregated into block variables and transmitted collectively, the central monitoring apparatus 100 can execute the processing of each data individually.

図11を参照して、本実施の形態に係る表示器150の制御構造について説明する。図11は、表示器150を実現するコンピュータシステム900のCPU910が実行するデータの送信処理の手順を表わすフローチャートである。この処理は、データの送信条件が成立したときに送信プログラムが実行されることにより実現される。また、この処理は、表示器150がFAシステム10において、作動可能に設定された後、制御対象機器または表示器150の停止、あるいは電源の遮断等不測の事態が生じない限り、継続して実行される。したがって、送信条件が毎日一定時刻にデータを送信するという条件である場合には、毎日、当該送信処理が実行される。あるいは、特定の個別変数の値が変化した時、たとえば「0」および「1」のいずれかの値を取る個別変数が、「0」から「1」に代わった時等に実行される。   With reference to FIG. 11, a control structure of display device 150 according to the present embodiment will be described. FIG. 11 is a flowchart showing a data transmission processing procedure executed by CPU 910 of computer system 900 realizing display device 150. This process is realized by executing a transmission program when a data transmission condition is satisfied. Further, this process is continuously executed after the display device 150 is set to be operable in the FA system 10, unless an unexpected situation such as stoppage of the control target device or the display device 150 or power interruption occurs. Is done. Therefore, when the transmission condition is a condition that data is transmitted every day at a certain time, the transmission process is executed every day. Alternatively, it is executed when the value of a specific individual variable changes, for example, when an individual variable that takes one of the values “0” and “1” is changed from “0” to “1”.

ステップS1110にて、CPU910は、送信対象となるデータがブロック変数のデータであるか否かを判断する。この判断は、たとえば、送信条件に含まれている変数の属性を参照することにより行なわれる。送信対象となるデータがブロック変数のデータであると判断されると(ステップS1110にてYES)、処理はステップS1130に移される。そうでない場合には(ステップS1120にてNO)、処理はステップS1120に移される。   In step S1110, CPU 910 determines whether the data to be transmitted is block variable data or not. This determination is made, for example, by referring to the attribute of a variable included in the transmission condition. If it is determined that the data to be transmitted is block variable data (YES in step S1110), the process proceeds to step S1130. If not (NO in step S1120), the process proceeds to step S1120.

ステップS1120にて、CPU910は、ハードディスク950の所定の領域から、送信対象となる個別変数のデータを読み込み、RAM940に一時的に書き込む。これにより、通常のデータ通信のための処理が実行される。   In step S 1120, CPU 910 reads the individual variable data to be transmitted from a predetermined area of hard disk 950 and temporarily writes it in RAM 940. Thereby, processing for normal data communication is executed.

ステップS1130にて、CPU910は、ハードディスク950の所定の領域から、ブロック変数に含まれている各個別変数のデータを順次読み込み、RAM940に一時的に書き込む。ここで、各個別変数の各々のデータの読み込みは、たとえば次のように行なわれる。最初に、ブロック変数に含まれる個別変数の中の最初に関連付けが行なわれている個別変数のアドレスが読み出される。CPU910は、そのアドレスに基づいて当該個別変数のデータを読み出す。次に、当該個別変数の次に関連付けが行なわれている個別変数のアドレスが読み出される。CPU910は、そのアドレスを参照して、個別変数のデータを読み出す。CPU910は、ブロック変数に含まれる個別変数のすべてについて、この処理を繰り返す。   In step S 1130, CPU 910 sequentially reads the data of each individual variable included in the block variable from a predetermined area of hard disk 950 and temporarily writes it in RAM 940. Here, reading of each data of each individual variable is performed as follows, for example. First, the address of the individual variable that is first associated among the individual variables included in the block variable is read out. CPU 910 reads the data of the individual variable based on the address. Next, the address of the individual variable associated with the individual variable is read out. The CPU 910 reads the data of the individual variable with reference to the address. The CPU 910 repeats this process for all individual variables included in the block variable.

ステップS1140にて、CPU910は、RAM940に一時的に書き込んだデータから、送信パケットを生成する。この送信パケットは、送信ヘッダと本体データとを含む。たとえば、CPU910は、コンピュータシステム900の時刻情報と、予め設定されている送信条件と、ブロック変数とに基づいて、送信ヘッダを生成する。送信ヘッダは、たとえば送信先アドレスと、送信元アドレスと、送信日時と、送信タスク名称と、ブロック変数名称とを含む。CPU910は、さらに、RAM940に書き込んだ各個別変数のデータを結合して、本体データを生成する。この場合、各個別変数は予め定められたサイズに揃えられたうえで結合されてもよいし、当該サイズに揃えられなくてもよい。当該送信パケットを受信する装置との間で、データ型が整合していればよい。   In step S1140, CPU 910 generates a transmission packet from the data temporarily written in RAM 940. This transmission packet includes a transmission header and body data. For example, the CPU 910 generates a transmission header based on time information of the computer system 900, transmission conditions set in advance, and block variables. The transmission header includes, for example, a transmission destination address, a transmission source address, a transmission date and time, a transmission task name, and a block variable name. The CPU 910 further combines the individual variable data written in the RAM 940 to generate main body data. In this case, the individual variables may be combined after being set to a predetermined size, or may not be set to the size. The data type only needs to be consistent with the device that receives the transmission packet.

ステップS1150にて、CPU910は、通信IF990を介して、送信先アドレスに基づいて、データ送信が指定された参加局、たとえば図1に示される他の表示器150あるいは中央監視装置100に、送信パケットを送信する。   In step S1150, CPU 910 transmits a transmission packet to the participating station designated for data transmission, for example, other display device 150 shown in FIG. 1 or central monitoring apparatus 100 via communication IF 990 based on the transmission destination address. Send.

図12を参照して、本発明の実施の形態に係る表示器150と通信可能なコンピュータシステム1200について説明する。図12は、コンピュータシステム1200のハードウェア構成を表わすブロック図である。   With reference to FIG. 12, a computer system 1200 capable of communicating with the display 150 according to the embodiment of the present invention will be described. FIG. 12 is a block diagram showing a hardware configuration of computer system 1200.

コンピュータシステム1200は、CPU1210と、キーボード1230と、RAM1240と、ハードディスク1250と、CD−ROM駆動装置1260と、モニタ1280と、通信IF1290とを含む。モニタ1280は、タッチパネル1220を含む。CD−ROM駆動装置1260には、CD−ROM1262が装着される。コンピュータシステム1200は、通信回線(図示しない)を介して、表示器150を実現するコンピュータシステム900に接続される。すなわち、コンピュータシステム900,1200の関係は、たとえば図1に示されるように、FAシステム10を構成する複数の表示器150,1500の関係に対応する。   The computer system 1200 includes a CPU 1210, a keyboard 1230, a RAM 1240, a hard disk 1250, a CD-ROM drive device 1260, a monitor 1280, and a communication IF 1290. Monitor 1280 includes a touch panel 1220. A CD-ROM 1262 is mounted on the CD-ROM drive 1260. The computer system 1200 is connected to a computer system 900 that implements the display 150 via a communication line (not shown). That is, the relationship between the computer systems 900 and 1200 corresponds to the relationship between the plurality of indicators 150 and 1500 constituting the FA system 10, as shown in FIG.

コンピュータシステム1200において、データ通信機能を実現するための処理は、各ハードウェアおよびCPU1210により実行されるソフトウェアによって実現される。このようなソフトウェアは、RAM1240あるいはハードディスク1250に予め格納されている場合がある。あるいはCD−ROM1262その他の着脱可能な情報記録媒体に格納されて流通し、CD−ROM駆動装置1260その他のデータ読取装置によりその記録媒体から読み取られて、ハードディスク1250に一旦格納される場合もある。そのソフトウェアは、ハードディスク1250から読み出されて、CPU1210によって実行される。   In the computer system 1200, processing for realizing the data communication function is realized by each hardware and software executed by the CPU 1210. Such software may be stored in advance in the RAM 1240 or the hard disk 1250. Alternatively, the information may be stored in a CD-ROM 1262 or other removable information recording medium and distributed, read from the recording medium by the CD-ROM drive 1260 or other data reader, and temporarily stored in the hard disk 1250. The software is read from the hard disk 1250 and executed by the CPU 1210.

図12に示されるコンピュータシステム1200のハードウェア自体は、一般的なものである。したがって、当該処理の本質は、上記ソフトウェアであるともいえる。なお、コンピュータシステム1200の各ハードウェアの動作は周知であるので、ここではその説明は繰り返さない。   The hardware itself of the computer system 1200 shown in FIG. 12 is general. Therefore, it can be said that the essence of the processing is the software. Since the operation of each hardware of computer system 1200 is well known, description thereof will not be repeated here.

図13を参照して、コンピュータシステム1200の制御構造について説明する。図13は、コンピュータシステム1200のCPU1210が実行する受信処理の手順を表わすフローチャートである。ここでは、コンピュータシステム1200は、表示器150を実現するコンピュータシステム900と通信可能な装置として機能する。   The control structure of the computer system 1200 will be described with reference to FIG. FIG. 13 is a flowchart showing a procedure of reception processing executed by CPU 1210 of computer system 1200. Here, the computer system 1200 functions as a device that can communicate with the computer system 900 that implements the display device 150.

ステップS1310にて、CPU1210は、通信回線を介して、コンピュータシステム900から送信されたパケットを受信する。ステップS1320にて、CPU1210は、受信されたパケットから、本体データを取得する。   In step S1310, CPU 1210 receives a packet transmitted from computer system 900 via a communication line. In step S1320, CPU 1210 acquires body data from the received packet.

ステップS1330にて、CPU210は、受信されたパケットの送信ヘッダの情報に基づいて、受信されたデータがブロック変数のためのデータであるか否かを判断する。受信データがブロック変数のためのデータであると判断すると(ステップS1330にてYES)、処理はステップS1350に移される。そうでない場合には(ステップS1330にてNO)、処理はステップS1340に移される。   In step S1330, CPU 210 determines whether or not the received data is data for a block variable based on the information of the transmission header of the received packet. If it is determined that the received data is data for a block variable (YES in step S1330), the process proceeds to step S1350. If not (NO in step S1330), the process proceeds to step S1340.

ステップS1340にて、CPU1210は、本体データから、各個別変数のデータを取得し、RAM1240の所定の領域に一時的に格納する。ステップS1350にて、CPU1210は、ブロック変数に含まれている各個別変数を識別するためのデータに基づいて、各個別変数のデータを取得する。ステップS1360にて、CPU1210は、個別変数のデータとして読み出したデータを、ハードディスク1250における当該個別変数に対応する領域に格納する。   In step S1340, CPU 1210 acquires the data of each individual variable from the main body data, and temporarily stores it in a predetermined area of RAM 1240. In step S1350, CPU 1210 acquires data of each individual variable based on data for identifying each individual variable included in the block variable. In step S1360, CPU 1210 stores the data read as individual variable data in an area corresponding to the individual variable in hard disk 1250.

図14および図15を参照して、本実施の形態に係るエディタ装置200に示される表示画面について説明する。図14は、エディタ装置200として機能するコンピュータシステム300のモニタ380が表示する変数の登録画面を表わす図である。   With reference to FIG. 14 and FIG. 15, the display screen shown in the editor apparatus 200 according to the present embodiment will be described. FIG. 14 is a diagram showing a variable registration screen displayed on monitor 380 of computer system 300 functioning as editor device 200.

コンピュータシステム300が使用者の指示に基づいてエディタプログラムを起動すると、図14に示されるような画面が表示される。この表示は、ハードディスク350に格納されているデータ(図4)に基づいて行なわれる。   When the computer system 300 starts the editor program based on a user instruction, a screen as shown in FIG. 14 is displayed. This display is performed based on data stored in the hard disk 350 (FIG. 4).

領域1410に、エディタ装置に含まれる機能の一覧が表示される。当該機能は、たとえば、参加局の登録、変数の登録、アクションの登録、保存、および転送処理のためのメニュー等を含む。コンピュータシステム300の使用者が、マウス320あるいはキーボード330により選択操作を実行すると、コンピュータシステム300は、選択された処理を実行する。たとえば、表示1412は、変数の登録画面が選択されていることを表わす。   In a region 1410, a list of functions included in the editor device is displayed. The functions include, for example, menus for registration of participating stations, registration of variables, registration of actions, storage, and transfer processing. When the user of the computer system 300 performs a selection operation using the mouse 320 or the keyboard 330, the computer system 300 executes the selected process. For example, display 1412 indicates that a variable registration screen is selected.

領域1420に、使用者により定義されたブロック変数(すなわち「Area1」)が表示される。領域1430に、ブロック変数「Block1」が表示される。ブロック変数「Block1」に関連付けられる変数は、「変数」の列に表示される。各変数のデータタイプは、「データタイプ」と示される列に表示される。変数の配置の属性を表わすデータは、「連続」と示される列に表示される。変数のために確保されている領域の位置を表わすデータは、「アドレス」と示される列に表示される。   In a region 1420, a block variable defined by the user (ie, “Area1”) is displayed. In the area 1430, the block variable “Block1” is displayed. The variable associated with the block variable “Block1” is displayed in the “variable” column. The data type of each variable is displayed in a column labeled “Data Type”. Data representing the attribute of variable arrangement is displayed in a column labeled “continuous”. Data representing the location of the area reserved for the variable is displayed in a column labeled “Address”.

領域1422に、ブロック変数「Area1」とそのブロック変数に含まれる他の変数との関連付けを表わすための画像が表示される。この表示は、たとえば他の領域と異なる表示態様で示されるインジケータである。同様に、領域1432に、ブロック変数「Block1」とそのブロック変数に含まれる他の変数との関連付けを表わすための画像が表示される。この画像も、たとえば、上記のようなインジケータとして表示される。すなわち、当該画像の右側に表示される変数は、当該画像が対応付けられるブロック変数に関連付けられている。このような表示により、ブロック変数の登録者以外の使用者も、どの変数がブロック変数に含まれているかを容易に識別することができる。   In area 1422, an image representing the association between block variable “Area1” and other variables included in the block variable is displayed. This display is, for example, an indicator that is displayed in a display mode different from other areas. Similarly, in area 1432, an image for representing the association between the block variable “Block 1” and other variables included in the block variable is displayed. This image is also displayed as an indicator as described above, for example. That is, the variable displayed on the right side of the image is associated with the block variable associated with the image. By such display, a user other than the block variable registrant can easily identify which variable is included in the block variable.

図14において、ブロック変数「Block1」には、個別変数_D100_WORDB1,_D101_WORD,_D10102_BIT%b,_D10108_BITB1が、それぞれ関連付けられている。したがって、たとえばプログラムの作成者がブロック変数「Block1」と特定の位置とを指定することにより、当該ブロック変数に含まれるいずれかの個別変数を参照する処理を、当該プログラムに実現させることができる。   In FIG. 14, individual variables _D100_WORDDB1, _D101_WORD, _D10102_BIT% b, and _D10108_BITB1 are associated with the block variable “Block1”. Therefore, for example, when the creator of the program designates the block variable “Block 1” and a specific position, the program can realize the process of referring to any individual variable included in the block variable.

さらに、ブロック変数「Area1」には、ブロック変数「Block1」と個別変数リザーブとが、それぞれ関連付けられている。これにより、ブロック変数「Area1」を参照するプログラムにおいて、上述の態様で指定することにより、ブロック変数「Block1」に関連付けられている個別変数の値を使用することができる。   Further, the block variable “Area1” is associated with the block variable “Block1” and the individual variable reserve, respectively. Thus, in the program that references the block variable “Area1”, the value of the individual variable associated with the block variable “Block1” can be used by specifying in the above-described manner.

図15は、エディタ装置200として機能するコンピュータシステム300のモニタ380が表示する配信条件の設定画面の一態様を表わす図である。   FIG. 15 is a diagram illustrating an aspect of a distribution condition setting screen displayed on monitor 380 of computer system 300 that functions as editor device 200.

使用者が配信条件の設定画面の表示指示を入力すると、当該画面が表示される。この画面において、その配信のタスク名(たとえば「Copy1」)は、領域1510に示される。そのタスクに関連付けられる起動条件番号は、領域1520に示される。その番号に対応する具体的な起動条件は、領域1530に表示される。これらの表示は、ハードディスク350に格納されているデータに基づいて行なわれる。また、起動条件を定めるためのデータは、追加可能であってもよい。   When the user inputs a display instruction for a distribution condition setting screen, the screen is displayed. In this screen, a task name (for example, “Copy 1”) of the distribution is shown in an area 1510. The activation condition number associated with the task is shown in area 1520. A specific activation condition corresponding to the number is displayed in area 1530. These displays are performed based on data stored in the hard disk 350. In addition, data for determining the activation condition may be addable.

領域1540には、配信される変数(M1_D102_WORD)および個数(1)と、当該変数の配信先の参加局(AGP2)、機器名(PLC10)、および配信先における変数の名称(M2_D0100_WORD)が示されている。使用者は、このような設定項目を入力することにより、各変数の配信条件を登録することができる。   In the area 1540, the variable (M1_D102_WORD) to be distributed and the number (1), the participating station (AGP2) of the distribution destination of the variable, the device name (PLC10), and the name of the variable at the distribution destination (M2_D0100_WORD) are shown. ing. The user can register the distribution conditions for each variable by inputting such setting items.

なお、図15に示される画面は、コンピュータシステム300と通信可能な他の装置においても、同様に表示可能である。たとえば、図1において、各表示器150の表示部が、上記画面を表示することができる。あるいは、中央監視装置100に同様の画面を表示させてもよい。これにより、ネットワーク接続された各装置間におけるデータの配信を効率よく実現することができる。   Note that the screen shown in FIG. 15 can be displayed in the same manner on other devices that can communicate with the computer system 300. For example, in FIG. 1, the display part of each indicator 150 can display the said screen. Alternatively, a similar screen may be displayed on the central monitoring device 100. As a result, it is possible to efficiently realize data distribution between devices connected to the network.

以上のようにして、本発明の実施の形態に係る表示器によると、個別に登録された変数から選択された少なくとも1つ以上の変数がブロック変数に関連付けられているデータ構造を有する。プログラムが当該ブロック変数を参照すると、ブロック変数に関連付けられた個別変数が特定され、各個別変数に対応するデータが参照される。   As described above, the display device according to the embodiment of the present invention has a data structure in which at least one variable selected from individually registered variables is associated with a block variable. When the program refers to the block variable, the individual variable associated with the block variable is specified, and the data corresponding to each individual variable is referenced.

上記の構成によると、表示器は、複数の個別変数の各々についてデータの書き込みあるいは読み出しを実行する場合、ブロック変数にアクセスすることにより、当該書き込みあるいは読み出しを実行することができる。すなわち、複数の個別変数へのアクセスが1回の処理により実現される。そのため、個別変数を参照して所定の処理を実行するプログラムの設計をブロック変数単位で参照する構成にすることができる。これにより、プログラムの構造を簡略化することができる。   According to the above configuration, the display device can execute the writing or reading by accessing the block variable when writing or reading data for each of the plurality of individual variables. That is, access to a plurality of individual variables is realized by a single process. Therefore, it is possible to adopt a configuration in which the design of a program that executes a predetermined process with reference to individual variables is referred to in block variable units. Thereby, the structure of the program can be simplified.

また、複数の個別変数についてデータを送信する場合、送信対象としてブロック変数を設定することにより、ブロック変数単位でデータの送信および受信をすることができる。このようにすると、変数データを送信するごとに付与される送信ヘッダは、ブロック変数について付与すればよい。その結果、個別変数ごとにヘッダを付与する必要がなくなるため、通信されるヘッダの数を削減することができる。これにより、ネットワークを介したデータ通信のパフォーマンスの低下を防止しつつ、装置間における複数のデータ項目の通信が容易に実現される。また、ブロック変数単位での通信が可能になるため、データ型が異なるデータの同時性を維持することができる。   When data is transmitted for a plurality of individual variables, data can be transmitted and received in units of block variables by setting block variables as transmission targets. If it does in this way, what is necessary is just to provide the transmission header provided whenever it transmits variable data about a block variable. As a result, there is no need to add a header for each individual variable, so the number of headers communicated can be reduced. As a result, communication of a plurality of data items between devices can be easily realized while preventing a decrease in performance of data communication via the network. In addition, since communication in units of block variables is possible, simultaneity of data having different data types can be maintained.

さらに、複数の変数へのアクセスが一括で行なわれることになるため、各個別変数のデータの同時性が維持される。したがって、たとえばデータの同期化のためのバックアップ処理の実行頻度を少なくすることができる。   Furthermore, since access to a plurality of variables is performed in a lump, the simultaneity of the data of each individual variable is maintained. Therefore, for example, the frequency of performing backup processing for data synchronization can be reduced.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明は、エディタ装置、たとえば、制御対象機器の状態の表示と動作の制御の指示とを実行する制御プログラムに対応する処理データを、前記表示器に転送可能な形式で作成するエディタ装置に適用可能である。   The present invention is applied to an editor device, for example, an editor device that creates processing data corresponding to a control program for displaying a state of a control target device and an instruction for controlling an operation in a format that can be transferred to the display device. Is possible.

本発明は、他の局面においては、表示器、たとえば制御装置により動作が制御される制御対象機器の状態を表示する機能と前記制御対象機器の動作の制御を指示する機能とを有する表示器に適用可能である。   In another aspect, the present invention provides a display, for example, a display having a function of displaying a state of a control target device whose operation is controlled by a control device and a function of instructing control of the operation of the control target device. Applicable.

本発明の実施の形態に係る表示器を使用するFAシステムのネットワーク構成を概略的に表わす図である。It is a figure which represents roughly the network structure of FA system using the indicator which concerns on embodiment of this invention. 本発明の実施の形態に係る表示器およびエディタ装置の構成を概略的に表わすブロック図である。It is a block diagram which represents roughly the structure of the indicator and editor device which concern on embodiment of this invention. コンピュータシステムのハードウェア構成を表すブロック図である。It is a block diagram showing the hardware constitutions of a computer system. 本発明の実施の形態に係るエディタ装置のデータ構造を概念的に表わす図である。It is a figure which represents notionally the data structure of the editor apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るエディタ装置が実行する処理の手順を表わすフローチャート(その1)である。It is a flowchart (the 1) showing the procedure of the process which the editor apparatus which concerns on embodiment of this invention performs. 本発明の実施の形態に係るエディタ装置が実行する処理の手順を表わすフローチャート(その2)である。It is a flowchart (the 2) showing the procedure of the process which the editor apparatus which concerns on embodiment of this invention performs. 本発明の実施の形態に係るエディタ装置が実行する処理の手順を表わすフローチャート(その3)である。It is a flowchart (the 3) showing the procedure of the process which the editor apparatus which concerns on embodiment of this invention performs. 本発明の実施の形態に係るエディタ装置により生成される転送データの構造を概念的に表わす図である。It is a figure which represents notionally the structure of the transfer data produced | generated by the editor apparatus based on embodiment of this invention. 本発明の実施の形態に係る表示器を実現するコンピュータシステムのハードウェア構成を表わすブロック図である。It is a block diagram showing the hardware constitutions of the computer system which implement | achieves the display which concerns on embodiment of this invention. 本発明の実施の形態に係る表示器のデータ構造を概念的に表わす図である。It is a figure which represents notionally the data structure of the display which concerns on embodiment of this invention. 本発明の実施の形態に係る表示器が実行する処理の手順を表わすフローチャートである。It is a flowchart showing the procedure of the process which the indicator which concerns on embodiment of this invention performs. 本発明の実施の形態に係る表示器と通信可能な情報通信装置として機能するコンピュータシステムのハードウェア構成を表わすブロック図である。It is a block diagram showing the hardware constitutions of the computer system which functions as an information communication apparatus which can communicate with the display which concerns on embodiment of this invention. 図12に示されるコンピュータシステムが実行する処理の手順を表わすフローチャートである。It is a flowchart showing the procedure of the process which the computer system shown by FIG. 12 performs. 本発明の実施の形態に係るエディタ装置が表示する画面を表わす図(その1)である。It is FIG. (1) showing the screen which the editor apparatus which concerns on embodiment of this invention displays. 本発明の実施の形態に係るエディタ装置が表示する画面を表わす図(その2)である。It is FIG. (2) showing the screen which the editor apparatus which concerns on embodiment of this invention displays.

符号の説明Explanation of symbols

10 FAシステム、100 中央監視装置、110 共通プロトコルインターフェース部、111 入力部、112 表示部、113 プロトコル情報記憶部、114 データ記憶部、120 制御部、130 専用プロトコルインターフェース部、150,1500 表示器、152,310,910 CPU、154 メンテナンスポート、160,184 メモリ、162 DRAM、164 FEPROM、166 通信コントローラ、168 VRAM、170 グラフィックコントローラ、172 ディスプレイ、174 タッチパネル、176 タッチパネルコントローラ、178 I/O制御IF、179 I/Oユニット、180 制御ユニット、186 通信IF、190 ネットワーク、192,194,196,198 制御対象機器、200 エディタ装置、210 制御部、212 メモリ部、214 表示部、216 入力部、218 駆動部、220 記録媒体、222 通信部、230 エディタ部、232 登録エディタ、234 変数管理部、236 プログラムエディタ、240 データ記憶部、300,900,1200 コンピュータシステム、320 マウス、330,930,1230 キーボード、340,940,1240 RAM、350,950,1250 ハードディスク、360,960,1260 CD−ROM駆動装置、362,962,1262 CD−ROM、920,1220 タッチパネル。   10 FA system, 100 central monitoring device, 110 common protocol interface unit, 111 input unit, 112 display unit, 113 protocol information storage unit, 114 data storage unit, 120 control unit, 130 dedicated protocol interface unit, 150, 1500 display unit, 152,310,910 CPU, 154 maintenance port, 160,184 memory, 162 DRAM, 164 FEPROM, 166 communication controller, 168 VRAM, 170 graphic controller, 172 display, 174 touch panel, 176 touch panel controller, 178 I / O control IF, 179 I / O unit, 180 control unit, 186 communication IF, 190 network, 192, 194, 196, 198 , 200 editor device, 210 control unit, 212 memory unit, 214 display unit, 216 input unit, 218 drive unit, 220 recording medium, 222 communication unit, 230 editor unit, 232 registration editor, 234 variable management unit, 236 program editor, 240 data storage unit, 300, 900, 1200 computer system, 320 mouse, 330, 930, 1230 keyboard, 340, 940, 1240 RAM, 350, 950, 1250 hard disk, 360, 960, 1260 CD-ROM drive, 362 962, 1262 CD-ROM, 920, 1220 Touch panel.

Claims (13)

制御対象機器との間でデータを通信するプログラマブル表示器に転送可能なデータ形式で、前記プログラマブル表示器によるデータ処理を実現する制御プログラムに対応する制御データを生成するエディタ装置であって、前記プログラマブル表示器は、前記制御対象機器により出力される操業データに基づいて前記制御対象機器の状態を表示する表示手段と、他の通信装置との間で前記操業データを通信する通信手段とを有しており、
前記エディタ装置は、
外部からの入力を受け付ける入力手段と、
前記入力に基づいて、データを参照するための個別変数と、前記個別変数に参照されるデータの属性とを定義する個別変数定義手段と、
前記入力に基づいて、前記制御プログラムにより参照されるブロック変数を定義するブロック変数定義手段と、
前記入力に基づいて複数の前記個別変数の中から選択された少なくとも1つ以上の個別変数と、前記ブロック変数とを関連付ける関連付け手段と、
前記関連付けられた個別変数および前記ブロック変数と前記属性とに基づいて、前記制御データを生成する生成手段とを備える、エディタ装置。
An editor device that generates control data corresponding to a control program that realizes data processing by the programmable display device in a data format that can be transferred to a programmable display device that communicates data with a control target device, the programmable device The display device includes a display unit that displays a state of the control target device based on operation data output from the control target device, and a communication unit that communicates the operation data with another communication device. And
The editor device
Input means for accepting external input;
Based on the input, individual variable defining means for defining an individual variable for referring to data and an attribute of data referred to by the individual variable;
A block variable defining means for defining a block variable referred to by the control program based on the input;
Association means for associating at least one individual variable selected from among the plurality of individual variables based on the input with the block variable;
An editor device comprising: a generating unit that generates the control data based on the associated individual variable, the block variable, and the attribute.
前記エディタ装置は、データを格納する記憶手段をさらに備え、
前記個別変数定義手段は、領域が離散的に割り当てられた複数の前記個別変数の各々を表わす個別変数データと、複数の前記個別変数の各々が示すデータについてのデータ型を表わすデータタイプとを、前記記憶手段にそれぞれ格納し、
前記関連付け手段は、前記領域が離散的に割り当てられた複数の前記個別変数データと、前記ブロック変数を表わすデータとを関連付ける、請求項1に記載のエディタ装置。
The editor device further comprises storage means for storing data,
The individual variable definition section, the individual variable data realm represents each of a plurality of the individual variables allocated discretely, and a data type representing the data type of the data indicated by each of a plurality of said individual variable , Stored in the storage means,
The editor apparatus according to claim 1, wherein the associating unit associates a plurality of the individual variable data in which the regions are discretely allocated with data representing the block variable.
前記関連付け手段は、第1のデータ型のデータを参照する変数と、前記第1のデータ型と異なる第2のデータ型のデータを参照する変数とを、前記ブロック変数にそれぞれ関連付ける、請求項1に記載のエディタ装置。   The association means associates a variable that refers to data of a first data type and a variable that refers to data of a second data type different from the first data type to the block variable, respectively. The editor device described in 1. 前記ブロック変数には、個別変数、あるいは、当該ブロック変数とは異なる他のブロック変数が関連付けられている、請求項1に記載のエディタ装置。   The editor device according to claim 1, wherein the block variable is associated with an individual variable or another block variable different from the block variable. 前記エディタ装置は、
前記少なくとも1つ以上の個別変数が前記ブロック変数に関連付けられていることを表わす画像を、予め定められた座標軸方向に表示するための画像データを生成するデータ生成手段と、
前記画像データに基づいて、前記画像を表示する表示手段とをさらに備える、請求項1に記載のエディタ装置。
The editor device
Data generating means for generating image data for displaying an image representing that the at least one or more individual variable is associated with the block variable in a predetermined coordinate axis direction;
The editor device according to claim 1, further comprising display means for displaying the image based on the image data.
前記制御プログラムは、前記ブロック変数に基づいてデータを通信する処理を実現するための通信プログラムを含み、
前記エディタ装置は、前記通信プログラムを実行することによりデータを送信する第1のデータ通信装置を識別する第1の識別情報と、前記第1のデータ通信装置からデータを受信する第2のデータ通信装置を識別する第2の識別情報とを格納する識別情報記憶手段をさらに備え、
前記生成手段は、前記第1の識別情報と前記第2の識別情報とに基づいて、前記通信プログラムに対応する前記制御データを生成する、請求項1に記載のエディタ装置。
The control program includes a communication program for realizing a process of communicating data based on the block variable,
The editor device executes first communication information for identifying first data communication device that transmits data by executing the communication program, and second data communication for receiving data from the first data communication device. And further comprising identification information storage means for storing second identification information for identifying the device,
The editor device according to claim 1, wherein the generation unit generates the control data corresponding to the communication program based on the first identification information and the second identification information.
前記入力手段は、
新たなブロック変数を生成するためのデータの入力を受けるデータ入力手段と、
前記関連付けが既に行なわれたブロック変数を選択する指示の入力を受ける手段とを含み、
前記エディタ装置は、前記指示に基づいて選択されたブロック変数を、前記新たなブロック変数に含めることにより、前記選択されたブロック変数と前記新たなブロック変数とを関連付けるためのリンク手段をさらに備える、請求項1に記載のエディタ装置。
The input means includes
Data input means for receiving input of data for generating a new block variable;
Means for receiving an instruction to select a block variable for which the association has already been performed,
The editor device further includes link means for associating the selected block variable with the new block variable by including the block variable selected based on the instruction in the new block variable. The editor device according to claim 1.
前記データ入力手段は、前記新たなブロック変数のために確保されるメモリ領域の位置を特定するための位置情報の入力を受け、
前記リンク手段は、前記位置情報と、前記選択されたブロック変数に関連付けられている個別変数のデータタイプとに基づいて、前記新たなブロック変数に関連付けられる個別変数のために確保されるメモリ領域の前記位置情報を生成する、請求項7に記載のエディタ装置。
The data input means receives position information for specifying a position of a memory area reserved for the new block variable,
The linking means is configured to determine a memory area reserved for an individual variable associated with the new block variable based on the position information and a data type of the individual variable associated with the selected block variable. The editor apparatus according to claim 7, wherein the position information is generated.
制御対象機器との間でデータを通信するプログラマブル表示器に転送可能なデータ形式で、前記プログラマブル表示器によるデータ処理を実現する制御プログラムに対応する制御データを生成するエディタ装置として、コンピュータを機能させるためのプログラムであって、前記プログラマブル表示器は、前記制御対象機器により出力される操業データに基づいて前記制御対象機器の状態を表示する表示手段と、他の通信装置との間で前記操業データを通信する通信手段とを有しており、
前記プログラムは前記コンピュータに、
外部からの入力を受け付けるステップと、
前記入力に基づいて、データを参照するための個別変数と、前記個別変数に参照されるデータの属性とを定義するステップと、
前記入力に基づいて、前記制御プログラムにより参照されるブロック変数を定義するステップと、
前記入力に基づいて複数の前記個別変数の中から選択された少なくとも1つ以上の個別変数と、前記ブロック変数とを関連付けるステップと、
前記関連付けられた個別変数および前記ブロック変数と前記属性とに基づいて、前記制御データを生成するステップとを実行させる、プログラム。
The computer functions as an editor device that generates control data corresponding to a control program that realizes data processing by the programmable display device in a data format that can be transferred to a programmable display device that communicates data with a control target device. The programmable display unit is configured to display the operation data between a display unit that displays the state of the control target device based on the operation data output by the control target device and another communication device. Communication means for communicating,
The program is stored in the computer.
A step of accepting external input;
Defining an individual variable for referring to data based on the input and an attribute of data referred to by the individual variable;
Defining block variables referenced by the control program based on the inputs;
Associating at least one individual variable selected from a plurality of the individual variables based on the input with the block variable;
A program for executing the step of generating the control data based on the associated individual variable and the block variable and the attribute.
請求項9に記載のプログラムを格納した記録媒体。   A recording medium storing the program according to claim 9. 制御対象機器の動作を制御する制御装置と、前記制御対象機器の状態を表示する機能および前記制御対象機器の動作の制御を指示する機能を有する表示器とを備え、
前記表示器は、
画面を表示する表示手段と、
前記制御装置とデータを通信する通信手段と、
データを参照するための個別変数と、複数の前記個別変数の中から選択された1つ以上の個別変数が関連付けられたブロック変数と、前記ブロック変数に関連付けられた前記1つ以上の個別変数に対応するデータに基づいて、前記制御対象機器の状態の表示と動作の制御の指示とを実行する制御プログラムとを格納する記憶手段と、
前記少なくとも1つ以上の個別変数により特定されるデータを用いて前記制御プログラムを実行する制御手段とを備え、
前記制御装置は、
前記表示器と通信する通信手段と、
前記表示器からのデータに基づいて、前記制御対象機器の動作を制御する動作制御手段とを備える、制御システム。
A control device that controls the operation of the control target device, and a display unit that has a function of displaying the state of the control target device and a function of instructing control of the operation of the control target device;
The indicator is
Display means for displaying a screen;
Communication means for communicating data with the control device;
An individual variable for referring to data, a block variable associated with one or more individual variables selected from the plurality of individual variables, and the one or more individual variables associated with the block variable A storage means for storing a control program for executing a display of the state of the control target device and an operation control instruction based on the corresponding data;
Control means for executing the control program using data specified by the at least one individual variable,
The controller is
Communication means for communicating with the display;
A control system comprising operation control means for controlling the operation of the control target device based on data from the display.
制御装置により動作が制御される制御対象機器の状態を表示する機能と前記制御対象機器の動作の制御を指示する機能とを有する表示器であって、
前記制御対象機器の状態を表わす画面を表示する表示手段と、
前記制御装置とデータを通信する通信手段と、
データを参照するための個別変数と、複数の前記個別変数の中から選択された1つ以上の個別変数が関連付けられたブロック変数と、前記ブロック変数に関連付けられた前記1つ以上の個別変数に対応するデータに基づいて、前記制御対象機器の状態の表示と動作の制御の指示とを実行する制御プログラムとを格納する記憶手段と、
前記少なくとも1つ以上の個別変数により特定されるデータを用いて前記制御プログラムを実行する制御手段とを備える、表示器。
A display device having a function of displaying a state of a control target device whose operation is controlled by a control device and a function of instructing control of the operation of the control target device;
Display means for displaying a screen representing the state of the device to be controlled;
Communication means for communicating data with the control device;
An individual variable for referring to data, a block variable associated with one or more individual variables selected from the plurality of individual variables, and the one or more individual variables associated with the block variable A storage means for storing a control program for executing a display of the state of the control target device and an operation control instruction based on the corresponding data;
And a control means for executing the control program using data specified by the at least one individual variable.
前記表示器と通信可能に接続されるデータ処理装置と通信するデータ通信手段と、
予め定められた条件の成立に応じて、前記ブロック変数に関連付けられた個別変数により特定される領域に格納されているデータの送信指示を生成する生成手段とをさらに備え、
前記データ処理装置は、前記制御プログラムの実行により用いられるデータを特定する個別変数と同じ個別変数を使用する処理プログラムを実行する機能を有しており、
前記制御プログラムは、前記ブロック変数を参照することにより前記ブロック変数に関連付けられている前記1つ以上の個別変数に対応するデータを前記記憶手段から読み出す処理と、前記読み出されたデータに基づいて送信データを生成する処理とを実現するための通信プログラムを含み、
前記制御手段は、前記送信指示に基づいて前記通信プログラムを実行することにより、前記データ通信手段に、前記データ処理装置に対して前記送信データを送信させる、請求項12に記載の表示器。
Data communication means for communicating with a data processing device communicably connected to the display;
Generating means for generating a transmission instruction of data stored in an area specified by the individual variable associated with the block variable in response to establishment of a predetermined condition;
The data processing apparatus has a function of executing a processing program that uses the same individual variable as an individual variable that specifies data used by execution of the control program.
The control program reads the data corresponding to the one or more individual variables associated with the block variable by referring to the block variable from the storage means, and based on the read data Including a communication program for realizing processing for generating transmission data,
The display device according to claim 12, wherein the control unit causes the data communication unit to transmit the transmission data to the data processing unit by executing the communication program based on the transmission instruction.
JP2004282301A 2004-09-28 2004-09-28 Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display Active JP4454455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004282301A JP4454455B2 (en) 2004-09-28 2004-09-28 Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004282301A JP4454455B2 (en) 2004-09-28 2004-09-28 Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display

Publications (2)

Publication Number Publication Date
JP2006099258A JP2006099258A (en) 2006-04-13
JP4454455B2 true JP4454455B2 (en) 2010-04-21

Family

ID=36239030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004282301A Active JP4454455B2 (en) 2004-09-28 2004-09-28 Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display

Country Status (1)

Country Link
JP (1) JP4454455B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6859922B2 (en) 2017-10-24 2021-04-14 オムロン株式会社 Control devices, control methods for control devices, information processing programs, and recording media
JP7003842B2 (en) * 2018-05-31 2022-01-21 オムロン株式会社 Support equipment and support programs
JP7245742B2 (en) * 2019-07-25 2023-03-24 東芝三菱電機産業システム株式会社 SCADA web HMI server device

Also Published As

Publication number Publication date
JP2006099258A (en) 2006-04-13

Similar Documents

Publication Publication Date Title
CN101583925A (en) Managing display of user interfaces
JP4454455B2 (en) Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display
KR100601696B1 (en) Method and apparatus for processing image file directly
JP5808922B2 (en) Air conditioner control interface device, air conditioner and air conditioner control system
CN109765850B (en) Control system
JP2005234808A (en) Information processor, system, remote operation method, program and recording medium
US20060143321A1 (en) Apparatus and method for managing peripheral device using auto-generated metadata
JP6496058B1 (en) Engineering tools, controllers, and control systems
CN112384868B (en) Program execution support device, program execution support method, and computer-readable storage medium
JP4330510B2 (en) Editor device, program for causing computer to function as editor device, and recording medium
JP4301919B2 (en) Editor device, program for causing computer to function as editor device, and recording medium
JP2011053769A (en) Server apparatus and screen data transmission method
JP2019049857A (en) Edi system, server, and method and program for controlling edi system
JP6558250B2 (en) Design support device
JP4388874B2 (en) Screen editor device, program for causing computer to function as screen editor device, and recording medium
JP2005096416A (en) Printing device and printing indication terminal unit, printing system, printing program, and printing method
JP2006209512A (en) Information processor
US11470217B2 (en) Service providing system with controlled display, information processing system, display control method, and non-transitory recording medium
JP7422959B1 (en) Display program, client device, network system and display control method
US7149979B2 (en) Data management system and method for peripheral devices
KR102683387B1 (en) Server and system for providing digital twin-based visualization services
CN108415701B (en) Information processing apparatus and system, user interface creation method, and storage medium
US20090300132A1 (en) Computer operation system and computer operation method
JP2021117843A (en) Information distribution system
JP2016031757A (en) Control system and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090310

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090915

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091013

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100126

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100202

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130212

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4454455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140212

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250