JPH09114506A - Program managing device - Google Patents

Program managing device

Info

Publication number
JPH09114506A
JPH09114506A JP27426895A JP27426895A JPH09114506A JP H09114506 A JPH09114506 A JP H09114506A JP 27426895 A JP27426895 A JP 27426895A JP 27426895 A JP27426895 A JP 27426895A JP H09114506 A JPH09114506 A JP H09114506A
Authority
JP
Japan
Prior art keywords
symbol
symbols
coordinates
coordinate
object code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27426895A
Other languages
Japanese (ja)
Inventor
Ryuta Miyake
竜太 三宅
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP27426895A priority Critical patent/JPH09114506A/en
Publication of JPH09114506A publication Critical patent/JPH09114506A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Processing Or Creating Images (AREA)
  • Programmable Controllers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

PROBLEM TO BE SOLVED: To speedily judge the normal/defective condition of symbol arrangement by comparing the coordinate of a symbol to be arranged newly with a coordinate which is already arranged and stored so as to judge the existence of an overlapped part. SOLUTION: When the position of the symbol to be arranged newly is specified by a position specifying means 11, a coordinate calculation means 12 calculates the coordinate of the position to be occupied by it. A judging means 32 compares the coordinate and the coordinate of a position occupied by another symbol which is already arranged and stored by a storing means 31 to judge the existence of an overlapped part. At the time of judging no overlapped part, a symbol arranging means 33 arranges and displays the symbol to a specified position and the storing means 31 stores the coordinate. On the other hand, at the time of judging the presence of an overlapped symbol, processing is finished. When all the necessary symbols are arranged on a picture, a symbol connection means 16 connects all the symbols arranged on the picture to generate a source code and a generation means 17 compiles it to generate an object code.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、プラントを制御
するコントローラのプログラムを管理するプログラム管
理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program management device that manages a program of a controller that controls a plant.

【0002】[0002]

【従来の技術】図8は従来のプログラム管理装置が適用
するプラント監視制御装置を示す構成図であり、図にお
いて、1はアプリケーションプログラムにしたがってプ
ラントを制御するコントローラ、2はコントローラ1に
対してプラントの制御信号を出力するとともに、コント
ローラ1が収集したプラントの情報を表示する監視操作
装置、3はコントローラ1のアプリケーションプログラ
ムを生成するとともに、そのアプリケーションプログラ
ム等を修正するプログラム管理装置、4は専用データウ
エイである。
2. Description of the Related Art FIG. 8 is a block diagram showing a plant monitoring control apparatus applied by a conventional program management apparatus. In the figure, 1 is a controller for controlling a plant according to an application program, and 2 is a controller for a controller 1. Monitoring operation device for displaying the plant information collected by the controller 1 and a program management device for generating an application program of the controller 1 and correcting the application program and the like, and 4 for exclusive data. It's a way.

【0003】また、図9は従来のプログラム管理装置を
示す構成図、図10はプログラム管理装置におけるCR
Tの画面を示す画面図であり、図9及び図10におい
て、11は画面上に新たに配置するシンボル21の位置
を指定する位置指定手段、12は位置指定手段11によ
り指定された位置にシンボル21が配置された場合を仮
定して、そのシンボル21が専有する位置の座標を計算
する座標計算手段、13は座標計算手段12の計算結果
に基づいてシンボル21を表示する画素を判別する画素
判別手段、14は画面を構成する各画素の表示状態を格
納する画素情報テーブル、15はシンボル21を表示す
る画素のすべてが未表示の状態にあるか否かを判定し、
そのすべてが未表示の状態にあるときシンボル21を当
該指定位置に配置すべくそのすべての画素を表示させる
とともに、画素情報テーブル14を更新するシンボル配
置手段、16は画面上に配置されているシンボル21,
22,23を接続するシンボル接続手段、17はシンボ
ル接続手段16により接続されたシンボル21,22,
23をコンパイルしてオブジェクトコードを生成する生
成手段、18はシンボル21,22,23のパラメータ
及びパラメータ定数を表示する表示手段である。
FIG. 9 is a block diagram showing a conventional program management device, and FIG. 10 is a CR in the program management device.
FIG. 11 is a screen diagram showing a screen of T. In FIGS. 9 and 10, 11 is a position designating means for designating the position of the symbol 21 newly arranged on the screen, and 12 is a symbol at the position designated by the position designating means 11. Assuming that 21 is arranged, the coordinate calculating means for calculating the coordinates of the position exclusively occupied by the symbol 21, and the pixel determining means 13 for determining the pixel displaying the symbol 21 based on the calculation result of the coordinate calculating means 12. Means, 14 is a pixel information table for storing the display state of each pixel constituting the screen, 15 is whether or not all the pixels displaying the symbol 21 are in the non-display state,
When all of them are in the undisplayed state, all the pixels are displayed so that the symbol 21 is arranged at the designated position, and the symbol arrangement means for updating the pixel information table 14, 16 is a symbol arranged on the screen. 21,
Symbol connecting means for connecting 22 and 23, and 17 symbols 21, 22 connected by the symbol connecting means 16.
Reference numeral 18 denotes a generation means for compiling 23 to generate an object code, and 18 is a display means for displaying the parameters and parameter constants of the symbols 21, 22, 23.

【0004】また、21は画面上に新たに配置するシン
ボル、22,23は画面上に既に配置されているシンボ
ル、24は各シンボルを接続する接続線である。ここ
で、シンボルは、コントローラ1のアプリケーションプ
ログラムのソースコードを構成するPOL(演算用言
語)を示す印である。また、シンボルの種類としては、
アナログ演算用のものとディジタル演算用のものがあ
る。アナログ演算用のPOLの例としては、PIDP,
HIMONI,P,SET等があり、ディジタル演算用
のPOLの例としては、AND,OR,NOT等があ
る。
Further, 21 is a symbol newly arranged on the screen, 22 and 23 are symbols already arranged on the screen, and 24 is a connecting line connecting each symbol. Here, the symbol is a mark indicating POL (calculation language) that constitutes the source code of the application program of the controller 1. Also, as the type of symbol,
There are those for analog calculation and those for digital calculation. Examples of POL for analog calculation include PIDP,
HIMONI, P, SET, etc., and AND, OR, NOT, etc. are examples of POL for digital operation.

【0005】次に動作について説明する。プラントを制
御するコントローラ1はアプリケーションプログラムに
したがって動作するので、コントローラ1を動作させる
ためにはアプリケーションプログラムを生成する必要が
あり、そのアプリケーションプログラムは以下に示すよ
うに、プログラム管理装置3が生成する。
Next, the operation will be described. Since the controller 1 for controlling the plant operates according to the application program, it is necessary to generate the application program in order to operate the controller 1. The application program is generated by the program management device 3 as described below.

【0006】まず、キーボードやマウス等から構成され
ている位置指定手段11によって、画面上に新たに配置
するシンボル21の位置が指定されると、座標計算手段
12がその指定された位置にシンボル21が配置された
場合を仮定して、そのシンボル21が専有する位置の座
標を計算する。具体的には、シンボルは長方形であるの
で、長方形の左上座標と右下座標または長方形の左下座
標と右上座標が指定されると、その長方形が専有する領
域が判別するので、指定された各座標からシンボル21
が専有する位置の座標を計算する。例えば、シンボル2
1の左上座標として(5,10)が指定され、右下座標
として(18,20)が指定された場合には、シンボル
21は横方向座標が5から18の位置、縦方向座標が1
0から20までの位置を専有することになる。ただし、
画面の左上を原点としている。
First, when the position of the symbol 21 to be newly arranged on the screen is designated by the position designating means 11 composed of a keyboard, a mouse and the like, the coordinate calculating means 12 is moved to the designated position. Is assumed, the coordinates of the position occupied by the symbol 21 are calculated. Specifically, since the symbol is a rectangle, if the upper left and lower right coordinates of the rectangle or the lower left and upper right coordinates of the rectangle are specified, the area occupied by the rectangle is determined. From symbol 21
Calculate the coordinates of the position occupied by. For example, symbol 2
When (5, 10) is designated as the upper left coordinate of 1 and (18, 20) is designated as the lower right coordinate, the symbol 21 has a horizontal coordinate of 5 to 18 and a vertical coordinate of 1.
It will occupy positions 0 to 20. However,
The upper left of the screen is the origin.

【0007】そして、座標計算手段12によりシンボル
21が専有する位置の座標が計算されると、画素判別手
段13がその計算結果に基づいてシンボル21を表示す
る画素を判別する。画面の座標は画面を構成する各画素
と対応しているので(例えば、画面の横方向画素が60
0個で、画面の縦方向画素が400個の場合には、画面
の横方向座標は1から600で表され、画面の縦方向画
素は1から400で表される)、上記の例では、横方向
が左から5〜18番目の画素であって、縦方向が上から
10〜20番目の画素を表示することになる。
When the coordinates of the position occupied by the symbol 21 are calculated by the coordinate calculating means 12, the pixel determining means 13 determines the pixel displaying the symbol 21 based on the calculation result. Since the coordinates of the screen correspond to the respective pixels that make up the screen (for example, the horizontal pixel of the screen is 60
If the number of pixels is 0 and the number of vertical pixels on the screen is 400, the horizontal coordinates of the screen are represented by 1 to 600, and the vertical pixels of the screen are represented by 1 to 400). The horizontal direction is the 5th to 18th pixels from the left, and the vertical direction is the 10th to 20th pixels from the top.

【0008】そして、シンボル21を表示する画素が判
別すると、シンボル配置手段15がシンボル21を表示
する画素のすべてが未表示の状態にあるか否かを判定す
る。即ち、シンボル21を表示する位置に他のシンボル
が既に配置されているか否かを判定する。具体的には、
画素情報テーブル14に各画素の表示状態が格納されて
おり、例えば、図11に示すように、表示状態にある画
素に対応するメモリには“1”が格納され、未表示状態
にある画素に対応するメモリには“0”が格納されてい
るので(図中、・・・は、便宜上“0”が格納されてい
ることを示している)、シンボル21を表示する画素に
対応するメモリのすべてに“0”が格納されているとき
は、その画素のすべてが未表示の状態にあると判定す
る。逆に、シンボル21を表示する画素に対応するメモ
リに一つでも“1”が格納されているときは、シンボル
21を表示する画素のなかに表示状態にある画素がある
と判定する。
When the pixel displaying the symbol 21 is determined, the symbol arranging means 15 determines whether all the pixels displaying the symbol 21 are in the non-display state. That is, it is determined whether another symbol is already arranged at the position where the symbol 21 is displayed. In particular,
The display state of each pixel is stored in the pixel information table 14. For example, as shown in FIG. 11, “1” is stored in the memory corresponding to the pixel in the display state, and the pixel in the non-display state is stored. Since "0" is stored in the corresponding memory (in the figure, ... indicates that "0" is stored for convenience), the memory corresponding to the pixel displaying the symbol 21 is When "0" is stored in all the pixels, it is determined that all the pixels are in the non-display state. On the contrary, when even one "1" is stored in the memory corresponding to the pixel displaying the symbol 21, it is determined that there is a pixel in the display state among the pixels displaying the symbol 21.

【0009】そして、シンボル配置手段15はシンボル
21を表示する画素のすべてが未表示の状態にあると判
定した場合には、シンボル21を表示する位置に他のシ
ンボルが未だ配置されていないので、シンボル21を当
該指定位置に配置すべく、シンボル21を表示する画素
のすべてを表示状態にする。また、シンボル21の配置
に伴って画素情報テーブル14を更新する(シンボル2
1を表示する画素に対応するメモリのすべてに“1”を
格納する)。一方、シンボル21を表示する画素のなか
に表示状態にある画素があると判定した場合には、シン
ボル21を表示する位置に他のシンボルが既に配置され
ているので、シンボル21を当該指定位置に配置するこ
となく、処理を終了する。
When the symbol arranging means 15 determines that all the pixels displaying the symbol 21 are in the non-display state, the other symbols are not yet arranged at the position where the symbol 21 is displayed. In order to arrange the symbol 21 at the designated position, all the pixels displaying the symbol 21 are brought into the display state. Further, the pixel information table 14 is updated with the arrangement of the symbols 21 (symbol 2
"1" is stored in all the memories corresponding to the pixels displaying 1). On the other hand, when it is determined that there is a pixel in the display state among the pixels displaying the symbol 21, another symbol is already arranged at the position displaying the symbol 21, so the symbol 21 is set to the designated position. The process is terminated without placing it.

【0010】そして、画面上に必要なシンボルがすべて
配置されると、シンボル接続手段16が画面上に配置さ
れているシンボル21,22,23を接続線24によっ
て接続し、アプリケーションプログラムのソースコード
を生成する(接続線24によって各シンボルが接続され
た状態がソースコードに相当する)。因に、シンボル接
続手段16は図示せぬキーボードやマウスから入力され
たユーザの指令にしたがってシンボルを接続する。
When all the necessary symbols are arranged on the screen, the symbol connecting means 16 connects the symbols 21, 22, 23 arranged on the screen by the connecting lines 24, and the source code of the application program is changed. It is generated (the state where each symbol is connected by the connection line 24 corresponds to the source code). Incidentally, the symbol connecting means 16 connects the symbols in accordance with a user's instruction input from a keyboard or mouse (not shown).

【0011】そして、アプリケーションプログラムのソ
ースコードが生成されると、生成手段17がそのソース
コードをコンパイルしてオブジェクトコードを生成す
る。因に、図12(b)は図12(a)のソースコード
をコンパイルして生成したオブジェクトコードを示して
おり、オブジェクトコードはコード部(プログラムのニ
ーモニックを記憶する部分)と、データ部(シンボルの
パラメータ定数を格納する部分である。図12に示すシ
ンボルは3つのパラメータ(P,I,D)を有している
ので、データ部には3つのパラメータ定数が格納されて
いる)と、中間データ(各シンボルの入出力データ)と
から構成されている。
When the source code of the application program is generated, the generation means 17 compiles the source code to generate an object code. Incidentally, FIG. 12B shows an object code generated by compiling the source code of FIG. 12A, and the object code includes a code part (a part for storing a mnemonic of a program) and a data part (a symbol). 12 stores three parameter constants (since the symbol shown in Fig. 12 has three parameters (P, I, D), three parameter constants are stored in the data part) and an intermediate value. It is composed of data (input / output data of each symbol).

【0012】そして、生成手段17はオブジェクトコー
ドを生成すると、当該オブジェクトコードを専用データ
ウエイ4を介してコントローラ1に転送し、当該オブジ
ェクトコードのコード部とデータ部をコントローラ1の
ROM部に記憶させ、当該オブジェクトコードの中間デ
ータをコントローラ1のRAM部に記憶させ、アプリケ
ーションプログラムの生成を終了する。
After generating the object code, the generating means 17 transfers the object code to the controller 1 via the dedicated data way 4, and stores the code part and the data part of the object code in the ROM part of the controller 1. The intermediate data of the object code is stored in the RAM section of the controller 1, and the generation of the application program is completed.

【0013】なお、アプリケーションプログラムを生成
したのち、各シンボルのパラメータ及びパラメータ定数
を変更する必要が生じた場合には、プログラム管理装置
3の表示手段18が、図13に示すように、各シンボル
のパラメータ及びパラメータ定数をコントローラ1のR
OM部から読み込んで表示する。そして、表示されてい
るパラメータ定数等をキーボード等を用いて適宜変更す
ると、生成手段17が修正箇所をコントローラ1に転送
して修正を完了する。因に、コントローラ1のROM部
はF−ROM等により構成されているので、メモリ内容
の修正が可能である。
When it is necessary to change the parameters and parameter constants of each symbol after the application program is generated, the display means 18 of the program management device 3 displays each symbol as shown in FIG. Set the parameters and parameter constants to R of the controller 1.
It is read from the OM section and displayed. Then, when the displayed parameter constants are appropriately changed using a keyboard or the like, the generation means 17 transfers the correction points to the controller 1 to complete the correction. Incidentally, since the ROM section of the controller 1 is composed of an F-ROM or the like, the memory contents can be modified.

【0014】[0014]

【発明が解決しようとする課題】従来のプログラム管理
装置は以上のように構成されているので、画面を構成す
る画素の個数に応じて画素情報テーブル14のメモリ容
量を決定しなければならず、画素の個数が多い画面を採
用する場合には画素情報テーブル14のメモリ容量が大
きくなる課題があった。また、シンボル21を配置する
際、シンボル21を表示する各画素の状態を一つ一つ判
定しなければならず、シンボル21の表示に多くの画素
を有する場合には、シンボル21の配置の良否判定に長
時間を要してしまう課題があった。また、各シンボルの
パラメータ定数はオブジェクトコードの内部情報として
コントローラ1のROM部に格納されるため、ソースコ
ードのコンパイルに関与していない監視操作装置2は、
各シンボルのパラメータ定数を検索する情報を有してお
らず、各シンボルのパラメータ定数を容易に検索するこ
とができない課題があった。さらに、アプリケーション
プログラムを生成したのち、各シンボルのパラメータ及
びパラメータ定数を変更する必要が生じた場合、表示手
段18がシンボルのパラメータ及びパラメータ定数を表
示するが、各シンボルの関連性を認識する手段がなかっ
たので、複数のシンボルが互いに関連する場合でも、互
いに関連する複数のシンボルのパラメータ等を同時に表
示することができず、パラメータ等の変更が煩雑となる
課題があった。
Since the conventional program management device is configured as described above, the memory capacity of the pixel information table 14 must be determined according to the number of pixels forming the screen. When a screen with a large number of pixels is adopted, there is a problem that the memory capacity of the pixel information table 14 becomes large. In addition, when arranging the symbols 21, it is necessary to judge the state of each pixel displaying the symbols 21 one by one, and when there are many pixels in the display of the symbols 21, it is determined whether the arrangement of the symbols 21 is good or bad. There was a problem that it took a long time to make a judgment. Further, since the parameter constants of each symbol are stored in the ROM section of the controller 1 as the internal information of the object code, the monitoring operation device 2 not involved in the compilation of the source code,
There is a problem that the parameter constants of each symbol are not included in the information, and the parameter constants of each symbol cannot be easily searched. Further, when it is necessary to change the parameters and parameter constants of each symbol after the application program is generated, the display means 18 displays the parameters and parameter constants of the symbols, but the means for recognizing the relevance of each symbol is Therefore, even when a plurality of symbols are related to each other, the parameters of the plurality of related symbols cannot be displayed at the same time, and there is a problem that changing the parameters and the like becomes complicated.

【0015】この発明は上記のような課題を解決するた
めになされたもので、シンボルの配置の良否判定を速や
かに行うことができるとともに、画面を構成する画素の
個数が多くてもメモリ容量の増大を防止できるプログラ
ム管理装置を得ることを目的とする。また、この発明
は、ソースコードのコンパイルに関与していない監視操
作装置が、各シンボルのパラメータ定数を容易に検索す
ることができるプログラム管理装置を得ることを目的と
する。さらに、この発明は、互いに関連する複数のシン
ボルのパラメータ等を同時に表示することができるプロ
グラム管理装置を得ることを目的とする。
The present invention has been made in order to solve the above problems, and it is possible to quickly determine whether the arrangement of symbols is good or bad, and the memory capacity is increased even if the number of pixels forming the screen is large. An object of the present invention is to obtain a program management device capable of preventing an increase. It is another object of the present invention to obtain a program management device that allows a monitor operation device that is not involved in compiling source code to easily retrieve the parameter constants of each symbol. Another object of the present invention is to obtain a program management device capable of simultaneously displaying parameters of a plurality of symbols associated with each other.

【0016】[0016]

【課題を解決するための手段】請求項1記載の発明に係
るプログラム管理装置は、座標計算手段により計算され
た座標と記憶手段が格納する座標を比較して、新たに配
置するシンボルが既に配置されているシンボルと重なる
部分があるか否かを判定するようにしたものである。
According to a first aspect of the present invention, there is provided a program management apparatus which compares the coordinates calculated by the coordinate calculation means with the coordinates stored in the storage means to newly arrange the symbols to be arranged. It is determined whether or not there is a portion that overlaps the displayed symbol.

【0017】請求項2記載の発明に係るプログラム管理
装置は、オブジェクトコードを生成する際、シンボルの
パラメータ定数を固定化されたメモリエリアに割り付け
るようにしたものである。
According to a second aspect of the program management apparatus, when the object code is generated, the parameter constants of the symbols are allocated to the fixed memory area.

【0018】請求項3記載の発明に係るプログラム管理
装置は、オブジェクトコードを生成する際、シンボルの
パラメータ定数の格納先を示すテーブルを生成するよう
にしたものである。
According to a third aspect of the present invention, there is provided a program management device which, when generating an object code, generates a table indicating a storage destination of a parameter constant of a symbol.

【0019】請求項4記載の発明に係るプログラム管理
装置は、オブジェクトコードを生成する際、シンボルを
分類付ける名称を付加して生成し、その名称に基づいて
関連するシンボルのパラメータ及びパラメータ定数を表
示するようにしたものである。
According to a fourth aspect of the present invention, a program management device adds a name for classifying symbols when generating an object code, and displays related symbol parameters and parameter constants based on the name. It is something that is done.

【0020】[0020]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるプ
ログラム管理装置を示す構成図であり、図において、1
1は画面上に新たに配置するシンボル21の位置を指定
する位置指定手段、12は位置指定手段11により指定
された位置にシンボル21が配置された場合を仮定し
て、そのシンボル21が専有する位置の座標を計算する
座標計算手段、31は既に画面上に配置されているシン
ボル22,23が専有する位置の座標を格納する記憶手
段、32はシンボル21が専有する位置の座標と既に配
置されているシンボル22,23が専有する位置の座標
を比較して、シンボル21が既に配置されているシンボ
ル22,23と重なる部分があるか否かを判定する判定
手段、33は判定手段32により重なる部分がないと判
定された場合には、シンボル21を当該指定位置に配置
するとともに、シンボル21が専有する位置の座標を記
憶手段31に格納するシンボル配置手段である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. 1 is a block diagram showing a program management apparatus according to Embodiment 1 of the present invention. In FIG.
Reference numeral 1 designates a position designating means for designating the position of the symbol 21 newly arranged on the screen, and 12 designates a case where the symbol 21 is arranged at the position designated by the position designating means 11, and the symbol 21 monopolizes the symbol 21. Coordinate calculation means for calculating the coordinates of the position, 31 is a storage means for storing the coordinates of the positions occupied by the symbols 22 and 23 already arranged on the screen, and 32 is the coordinates of the positions occupied by the symbols 21 and already arranged. The judgment means 32 compares the coordinates of the positions occupied by the existing symbols 22 and 23 and judges whether or not there is a portion where the symbol 21 overlaps the already arranged symbols 22 and 23. When it is determined that there is no portion, the symbol 21 is arranged at the designated position, and the coordinates of the position occupied by the symbol 21 are stored in the storage means 31. Is a symbol arrangement means.

【0021】また、16は画面上に配置されているシン
ボル21,22,23を接続するシンボル接続手段、1
7はシンボル接続手段16により接続されたシンボル2
1,22,23をコンパイルしてオブジェクトコードを
生成する生成手段、18はシンボル21,22,23の
パラメータ及びパラメータ定数を表示する表示手段であ
る。
Further, 16 is a symbol connecting means for connecting the symbols 21, 22, 23 arranged on the screen, and 1
7 is a symbol 2 connected by the symbol connecting means 16
Generating means for compiling 1, 2, 23 and 23 to generate an object code, and 18 is a displaying means for displaying the parameters and parameter constants of the symbols 21, 22, 23.

【0022】次に動作について説明する。プラントを制
御するコントローラ1はアプリケーションプログラムに
したがって動作するので、コントローラ1を動作させる
ためにはアプリケーションプログラムを生成する必要が
あり、そのアプリケーションプログラムは以下に示すよ
うに、プログラム管理装置3が生成する。
Next, the operation will be described. Since the controller 1 for controlling the plant operates according to the application program, it is necessary to generate the application program in order to operate the controller 1. The application program is generated by the program management device 3 as described below.

【0023】まず、キーボードやマウス等から構成され
ている位置指定手段11によって、画面上に新たに配置
するシンボル21の位置が指定されると、座標計算手段
12がその指定された位置にシンボル21が配置された
場合を仮定して、そのシンボル21が専有する位置の座
標を計算する。具体的には、シンボルは長方形であるの
で、長方形の左上座標と右下座標または長方形の左下座
標と右上座標が指定されると、その長方形が専有する領
域が判別するので、指定された各座標からシンボル21
が専有する位置の座標を計算する。例えば、シンボル2
1の左上座標として(5,10)が指定され、右下座標
として(18,20)が指定された場合には、シンボル
21は横方向座標が5から18の位置、縦方向座標が1
0から20までの位置を専有することになる。ただし、
画面の左上を原点としている。
First, when the position of the symbol 21 to be newly arranged on the screen is designated by the position designating means 11 composed of a keyboard, a mouse and the like, the coordinate calculating means 12 is moved to the designated position. Is assumed, the coordinates of the position occupied by the symbol 21 are calculated. Specifically, since the symbol is a rectangle, if the upper left and lower right coordinates of the rectangle or the lower left and upper right coordinates of the rectangle are specified, the area occupied by the rectangle is determined. From symbol 21
Calculate the coordinates of the position occupied by. For example, symbol 2
When (5, 10) is designated as the upper left coordinate of 1 and (18, 20) is designated as the lower right coordinate, the symbol 21 has a horizontal coordinate of 5 to 18 and a vertical coordinate of 1.
It will occupy positions 0 to 20. However,
The upper left of the screen is the origin.

【0024】そして、座標計算手段12によりシンボル
21が専有する位置の座標が計算されると、判定手段3
2が、シンボル21が専有する位置の座標と、既に配置
されているシンボル22,23が専有する位置の座標
(記憶手段31が格納する座標)を比較して、シンボル
21が既に配置されているシンボル22,23と重なる
部分があるか否かを判定する。具体的には、シンボル2
1とシンボル22または23が重なり合う態様として
は、図2に示すように、4つの態様に限定されるので、
以下に示す判別式(1)〜(4)のいずれかが成立する
場合に限り、重なる部分があるものと認定する。ただ
し、図2において、(X1 ,Y1 )をシンボル21の左
上座標、(X2 ,Y2 )をシンボル21の右下座標、
(X3 ,Y3 )をシンボル22または23の左上座標、
(X4 ,Y4 )をシンボル22または23の右下座標と
し、画面の左上を原点(0,0)とする。
When the coordinate calculating means 12 calculates the coordinates of the position occupied by the symbol 21, the determining means 3
2 compares the coordinates of the position exclusively occupied by the symbol 21 with the coordinates of the positions exclusively occupied by the already arranged symbols 22 and 23 (coordinates stored in the storage means 31), and the symbol 21 is already disposed. It is determined whether or not there is a portion overlapping the symbols 22 and 23. Specifically, symbol 2
The manner in which 1 and the symbol 22 or 23 overlap is limited to four as shown in FIG.
Only when any of the following discriminants (1) to (4) is satisfied, it is determined that there are overlapping portions. However, in FIG. 2, (X 1 , Y 1 ) is the upper left coordinate of the symbol 21, (X 2 , Y 2 ) is the lower right coordinate of the symbol 21,
(X 3 , Y 3 ) is the upper left coordinate of the symbol 22 or 23,
(X 4 , Y 4 ) is the lower right coordinate of the symbol 22 or 23, and the upper left of the screen is the origin (0, 0).

【0025】・図2(a)の態様で重なり合う場合 X1 <X4 and X2 ≧X3 and Y2 ≧Y4 ≧Y1 ・・・(1) ・図2(b)の態様で重なり合う場合 X1 <X4 and X2 ≧X3 and Y2 ≧Y3 ≧Y1 ・・・(2) ・図2(c)の態様で重なり合う場合 X2 >X3 and X1 ≦X4 and Y2 ≧Y4 ≧Y1 ・・・(3) ・図2(d)の態様で重なり合う場合 X2 >X3 and X1 ≦X4 and Y2 ≧Y3 ≧Y1 ・・・(4)When overlapping in the mode of FIG. 2 (a): X 1 <X 4 and X 2 ≧ X 3 and Y 2 ≧ Y 4 ≧ Y 1 (1) ・ Overlapping in the mode of FIG. 2 (b) Case X 1 <X 4 and X 2 ≧ X 3 and Y 2 ≧ Y 3 ≧ Y 1 (2) ・ In the case of overlapping in the mode of FIG. 2C, X 2 > X 3 and X 1 ≦ X 4 and Y 2 ≧ Y 4 ≧ Y 1 (3) ・ In the case of overlapping in the form of FIG. 2D: X 2 > X 3 and X 1 ≦ X 4 and Y 2 ≧ Y 3 ≧ Y 1・ ・ ・ (4 )

【0026】そして、シンボル配置手段33はシンボル
21と重なり合うシンボルが存在しないと判定した場合
には、シンボル21を当該指定位置に配置すべく、シン
ボル21を表示する画素のすべてを表示状態にする。ま
た、シンボル21が専有する位置の座標を記憶手段31
に格納する。一方、シンボル21と重なり合うシンボル
が存在すると判定した場合には、シンボル21を当該指
定位置に配置することなく、処理を終了する。
When it is determined that the symbol 21 does not overlap the symbol 21, the symbol arranging means 33 places all the pixels displaying the symbol 21 in the display state in order to arrange the symbol 21 at the designated position. Further, the storage unit 31 stores the coordinates of the position occupied by the symbol 21.
To be stored. On the other hand, if it is determined that there is a symbol that overlaps the symbol 21, the process is terminated without arranging the symbol 21 at the designated position.

【0027】そして、画面上に必要なシンボルがすべて
配置されると、シンボル接続手段16が画面上に配置さ
れているシンボル21,22,23を接続線24によっ
て接続し(図10参照)、アプリケーションプログラム
のソースコードを生成する(接続線24によって各シン
ボルが接続された状態がソースコードに相当する)。因
に、シンボル接続手段16は図示せぬキーボードやマウ
スから入力されたユーザの指令にしたがってシンボルを
接続する。
When all the necessary symbols are arranged on the screen, the symbol connecting means 16 connects the symbols 21, 22, 23 arranged on the screen by the connecting lines 24 (see FIG. 10) and the application. The source code of the program is generated (the state in which each symbol is connected by the connecting line 24 corresponds to the source code). Incidentally, the symbol connecting means 16 connects the symbols in accordance with a user's instruction input from a keyboard or mouse (not shown).

【0028】そして、アプリケーションプログラムのソ
ースコードが生成されると、生成手段17がそのソース
コードをコンパイルしてオブジェクトコードを生成す
る。因に、図12(b)は図12(a)のソースコード
をコンパイルして生成したオブジェクトコードを示して
おり、オブジェクトコードはコード部(プログラムのニ
ーモニックを記憶する部分)と、データ部(シンボルの
パラメータ定数を格納する部分である。図12に示すシ
ンボルは3つのパラメータ(P,I,D)を有している
ので、データ部には3つのパラメータ定数が格納されて
いる)と、中間データ(各シンボルの入出力データ)と
から構成されている。
When the source code of the application program is generated, the generation means 17 compiles the source code to generate an object code. Incidentally, FIG. 12B shows an object code generated by compiling the source code of FIG. 12A, and the object code includes a code part (a part for storing a mnemonic of a program) and a data part (a symbol). 12 stores three parameter constants (since the symbol shown in Fig. 12 has three parameters (P, I, D), three parameter constants are stored in the data part) and an intermediate value. It is composed of data (input / output data of each symbol).

【0029】そして、生成手段17はオブジェクトコー
ドを生成すると、当該オブジェクトコードを専用データ
ウエイ4を介してコントローラ1に転送し、当該オブジ
ェクトコードのコード部とデータ部をコントローラ1の
ROM部に記憶させ、当該オブジェクトコードの中間デ
ータをコントローラ1のRAM部に記憶させ、アプリケ
ーションプログラムの生成を終了する。
After generating the object code, the generating means 17 transfers the object code to the controller 1 via the dedicated data way 4, and stores the code part and the data part of the object code in the ROM part of the controller 1. The intermediate data of the object code is stored in the RAM section of the controller 1, and the generation of the application program is completed.

【0030】なお、アプリケーションプログラムを生成
したのち、各シンボルのパラメータ及びパラメータ定数
を変更する必要が生じた場合には、プログラム管理装置
3の表示手段18が、図13に示すように、各シンボル
のパラメータ及びパラメータ定数をコントローラ1のR
OM部から読み込んで表示する。そして、表示されてい
るパラメータ定数等をキーボード等を用いて適宜変更す
ると、生成手段17が修正箇所をコントローラ1に転送
して修正を完了する。因に、コントローラ1のROM部
はF−ROM等により構成されているので、メモリ内容
の修正が可能である。
If it is necessary to change the parameters and parameter constants of each symbol after the application program is generated, the display means 18 of the program management device 3 displays each symbol as shown in FIG. Set the parameters and parameter constants to R of the controller 1.
It is read from the OM section and displayed. Then, when the displayed parameter constants are appropriately changed using a keyboard or the like, the generation means 17 transfers the correction points to the controller 1 to complete the correction. Incidentally, since the ROM section of the controller 1 is composed of an F-ROM or the like, the memory contents can be modified.

【0031】以上より、この実施の形態1によれば、座
標計算手段12により計算された座標と記憶手段31が
格納する座標を比較して、新たに配置するシンボル21
が既に配置されているシンボル22,23と重なる部分
があるか否かを判定するようにしたので、従来のよう
に、シンボル21を表示する各画素の状態を一つ一つ判
定することなく、4つの判別式の成立を判定するだけで
シンボル21の配置の良否判定を行うことができ、従来
のものより速やかにシンボル21を配置することができ
る。また、この実施の形態1によれば、画面を構成する
画素の個数に応じたメモリ容量を必要とする画素情報テ
ーブル14が不要となる一方、単に、既に配置されてい
るシンボル22,23が専有する位置の座標を格納(1
つのシンボルにつき2か所の座標を格納)する記憶手段
31を設けるだけで、シンボル21の配置の良否判定を
行うことができるので、画面を構成する画素の個数が多
くてもプログラム管理装置のメモリ容量の増大を防止す
ることができる。
As described above, according to the first embodiment, the coordinates calculated by the coordinate calculation means 12 are compared with the coordinates stored in the storage means 31, and the newly arranged symbol 21 is compared.
Since it is determined whether or not there is a portion that overlaps with the symbols 22 and 23 that have already been arranged, it is possible to determine the state of each pixel displaying the symbol 21 one by one, unlike the conventional case. The quality of the arrangement of the symbols 21 can be determined only by determining the establishment of the four discriminants, and the symbols 21 can be arranged more quickly than in the conventional case. Further, according to the first embodiment, the pixel information table 14 which requires a memory capacity corresponding to the number of pixels forming the screen is unnecessary, while the already arranged symbols 22 and 23 are exclusively used. Store the coordinates of the position to
Since the quality of the arrangement of the symbols 21 can be determined only by providing the storage means 31 for storing two coordinates for each symbol), the memory of the program management device can be used even if the number of pixels forming the screen is large. It is possible to prevent an increase in capacity.

【0032】実施の形態2.図3はこの発明の実施の形
態2によるプログラム管理装置を示す構成図であり、図
において、図1のものと同一符号は同一または相当部分
を示すので説明を省略する。34はシンボル接続手段1
6により接続されたシンボルをコンパイルしてオブジェ
クトコードを生成するとともに、シンボルのパラメータ
定数を固定化されたメモリエリアに割り付ける生成手段
である。
Embodiment 2 FIG. FIG. 3 is a block diagram showing a program management device according to a second embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 34 is symbol connecting means 1
6 is a generation unit that compiles the symbols connected by 6 to generate an object code and allocates the parameter constants of the symbols to the fixed memory area.

【0033】次に動作について説明する。上記実施の形
態1では、生成手段17がオブジェクトコードを生成す
る際、各シンボルのパラメータ定数がオブジェクトコー
ドの内部情報としてコントローラ1のROM部に割り付
けられるように、オブジェクトコードを生成していたの
で、ソースコードのコンパイルに関与していない監視操
作装置2は、各シンボルのパラメータ定数を検索する情
報を有しておらず、各シンボルのパラメータ定数を容易
に検索することができなかった。
Next, the operation will be described. In the first embodiment, when the generation means 17 generates the object code, the object code is generated so that the parameter constants of each symbol are assigned to the ROM section of the controller 1 as internal information of the object code. The monitoring operation device 2, which is not involved in the compilation of the source code, does not have the information for searching the parameter constant of each symbol, and cannot easily search the parameter constant of each symbol.

【0034】そこで、この実施の形態2では、生成手段
34がオブジェクトコードを生成する際、図4に示すよ
うに、各シンボルのパラメータ定数が固定化されたメモ
リエリア、即ち、各シンボルの中間データを格納するコ
ントローラ1のRAM部に割り付けられるように、オブ
ジェクトコードを生成したものである。もう少し具体的
に説明すると、図4に示すように、各シンボルのパラメ
ータ定数(P,I,D)を中間データ3,4,5として
取り扱うことにより、パラメータ定数をコントローラ1
のRAM部に割り付けられるようにしたものである。
Therefore, in the second embodiment, when the generation means 34 generates an object code, as shown in FIG. 4, a memory area in which parameter constants of each symbol are fixed, that is, intermediate data of each symbol. The object code is generated so as to be allocated to the RAM part of the controller 1 which stores the. More specifically, as shown in FIG. 4, the parameter constants (P, I, D) of each symbol are treated as the intermediate data 3, 4, and 5, so that the parameter constants can be controlled by the controller 1.
It is designed so that it can be allocated to the RAM part of the.

【0035】このように、この実施の形態2によれば、
シンボルのパラメータ定数が固定化されたメモリエリア
に割り付けられるので、ソースコードのコンパイルに関
与していない監視操作装置2でも、シンボルのパラメー
タ定数が格納されている場所を認識することができ、従
って、監視操作装置2でも各シンボルのパラメータ定数
を容易に検索することができる。
As described above, according to the second embodiment,
Since the parameter constants of the symbol are allocated to the fixed memory area, the monitoring operation device 2 which is not involved in the compilation of the source code can recognize the location where the parameter constants of the symbol are stored. Even the monitoring operation device 2 can easily retrieve the parameter constant of each symbol.

【0036】実施の形態3.上記実施の形態2では、シ
ンボルのパラメータ定数を固定化されたメモリエリアに
割り付けるものについて示したが、図5に示すように、
生成手段34がオブジェクトコードを生成する際、シン
ボルのパラメータ定数の格納先を示すテーブルを生成す
るようにしてもよい。即ち、シンボルのパラメータ定数
を特定するTAG名称とパラメータ定数の格納先(アド
レス)との対応を示すテーブルをコントローラ1の拡張
RAM部に割り付けられるように、オブジェクトコード
を生成してもよい。これにより、拡張RAM部をアクセ
スすれば、シンボルのパラメータ定数の格納先を認識す
ることができるので、ソースコードのコンパイルに関与
していない監視操作装置2でも、各シンボルのパラメー
タ定数を容易に検索することができる。
Embodiment 3. In the second embodiment, the symbol parameter constant is assigned to the fixed memory area. However, as shown in FIG.
When the generating unit 34 generates the object code, a table indicating the storage location of the parameter constants of the symbols may be generated. That is, the object code may be generated so that a table indicating the correspondence between the TAG name that specifies the parameter constant of the symbol and the storage destination (address) of the parameter constant can be allocated to the expansion RAM unit of the controller 1. As a result, the storage location of the parameter constants of the symbol can be recognized by accessing the expansion RAM unit, so that the monitoring operation device 2 not involved in the compilation of the source code can easily retrieve the parameter constant of each symbol. can do.

【0037】実施の形態4.図6はこの発明の実施の形
態4によるプログラム管理装置を示す構成図であり、図
において、図1のものと同一符号は同一または相当部分
を示すので説明を省略する。35はシンボル接続手段1
6により接続されたシンボルをコンパイルしてオブジェ
クトコードを生成するとともに、オブジェクトコードを
生成する際、シンボルを分類付ける名称を付加して生成
する生成手段、36はその名称に基づいて関連するシン
ボルのパラメータ及びパラメータ定数を表示する表示手
段である。
Fourth Embodiment 6 is a block diagram showing a program management device according to a fourth embodiment of the present invention. In the figure, the same symbols as those in FIG. 35 is symbol connection means 1
The symbol connected by 6 is compiled to generate an object code, and at the time of generating the object code, a generating means for generating by adding a name for classifying the symbols, and 36 is a parameter of a related symbol based on the name. And display means for displaying parameter constants.

【0038】次に動作について説明する。上記実施の形
態1〜3では、各シンボルの関連性を認識する手段がな
かったので、複数のシンボルが互いに関連する場合で
も、互いに関連する複数のシンボルのパラメータ等を同
時に表示することができなかった。
Next, the operation will be described. In the above-described first to third embodiments, since there is no means for recognizing the relevance of each symbol, even when a plurality of symbols are related to each other, the parameters of the plurality of related symbols cannot be displayed at the same time. It was

【0039】そこで、この実施の形態4では、生成手段
35がオブジェクトコードを生成する際、シンボルを分
類付ける名称を付加して生成するようにし、そして、表
示手段36が互いに関連する複数のシンボルのパラメー
タ及びパラメータ定数を表示する際、その名称に基づい
て関連するシンボルのパラメータ及びパラメータ定数を
検索して表示するようにしたものである。具体的には、
名称の先頭の文字によってシンボルを分類付けし、例え
ば、下記の具体例に示すように、名称の先頭にAが付い
ているものは、関連性のあるシンボルとして認識するよ
うにする。
In view of this, in the fourth embodiment, when the generating means 35 generates the object code, the names for classifying the symbols are added to generate the object code, and the displaying means 36 displays the plurality of related symbols. When displaying the parameters and parameter constants, the parameters and parameter constants of the related symbols are searched and displayed based on their names. In particular,
The symbols are classified by the letters at the beginning of the name, and, for example, as shown in the following specific example, those having an A at the beginning of the name are recognized as related symbols.

【0040】・具体例 6個のシンボルが配置されている場合において、各シン
ボルの名称が下記の通りであるとすると、“A100”
と“A700”と“A900”、及び“C−abc”と
“C−xyz”はそれぞれ関連性のあるシンボルと認識
される。 ・配置されているシンボルの名称 A100,A700,A900,BCDEF,C−ab
c,C−xyz 因に、図7は名称の先頭にAが付いているシンボルのパ
ラメータ及びパラメータ定数を表示した例を示してい
る。
Concrete Example If six symbols are arranged and each symbol has the following name, "A100"
And "A700" and "A900", and "C-abc" and "C-xyz" are recognized as related symbols.・ Names of arranged symbols A100, A700, A900, BCDEF, C-ab
7 shows an example in which the parameters and parameter constants of symbols whose names start with A are displayed.

【0041】以上より、この実施の形態4によれば、生
成手段35がオブジェクトコードを生成する際、シンボ
ルを分類付ける名称を付加して生成し、表示手段36が
互いに関連する複数のシンボルのパラメータ及びパラメ
ータ定数を表示する際、その名称に基づいて関連するシ
ンボルのパラメータ及びパラメータ定数を検索して表示
するようにしたので、複数のシンボルが互いに関連する
場合、互いに関連する複数のシンボルのパラメータ等を
同時に表示することができ、パラメータ等の変更が容易
になる効果を奏する。
As described above, according to the fourth embodiment, when the generating means 35 generates the object code, the symbols are added with the names for classifying the symbols, and the displaying means 36 makes the parameters of the plurality of symbols related to each other. When displaying the and parameter constants, the parameters and parameter constants of the related symbols are searched and displayed based on their names, so when multiple symbols are related to each other, the parameters of the multiple symbols related to each other, etc. Can be displayed at the same time, and it is easy to change parameters and the like.

【0042】[0042]

【発明の効果】以上のように、請求項1記載の発明によ
れば、座標計算手段により計算された座標と記憶手段が
格納する座標を比較して、新たに配置するシンボルが既
に配置されているシンボルと重なる部分があるか否かを
判定するように構成したので、従来のように、新たに配
置するシンボルを表示する各画素の状態を一つ一つ判定
しなくても、4つの判別式の成立を判定するだけでシン
ボルの配置の良否判定を行うことができ、その結果、従
来のものより速やかにシンボルを配置することができる
効果がある。また、既に配置されているシンボルが専有
する位置の座標を格納する記憶手段を設けるだけでシン
ボルの配置の良否判定を行うことができるようになり、
画面を構成する画素の個数が多くても、メモリ容量の増
大を防止することができる効果もある。
As described above, according to the first aspect of the invention, the coordinates calculated by the coordinate calculation means are compared with the coordinates stored in the storage means, and the newly arranged symbol is already arranged. Since it is configured to determine whether or not there is a portion that overlaps with the existing symbol, it is possible to perform four determinations without individually determining the state of each pixel displaying the newly arranged symbol as in the conventional case. The quality of the symbol arrangement can be determined only by determining whether the equation is satisfied, and as a result, the symbols can be arranged more quickly than in the conventional case. Further, it becomes possible to judge the quality of the symbol arrangement simply by providing a storage means for storing the coordinates of the positions occupied by the already arranged symbols,
Even if the number of pixels forming the screen is large, it is possible to prevent an increase in the memory capacity.

【0043】請求項2記載の発明によれば、オブジェク
トコードを生成する際、シンボルのパラメータ定数を固
定化されたメモリエリアに割り付けるように構成したの
で、ソースコードのコンパイルに関与していない監視操
作装置でも、シンボルのパラメータ定数が格納されてい
る場所を認識することができるようになり、その結果、
ソースコードのコンパイルに関与していない監視操作装
置でも、各シンボルのパラメータ定数を容易に検索する
ことができる効果がある。
According to the second aspect of the invention, when the object code is generated, the parameter constant of the symbol is allocated to the fixed memory area. Therefore, the monitoring operation not involved in the compilation of the source code. The device will also be able to recognize where the symbol's parameter constants are stored, and as a result,
Even in the monitoring operation device that is not involved in compiling the source code, the parameter constant of each symbol can be easily retrieved.

【0044】請求項3記載の発明によれば、オブジェク
トコードを生成する際、シンボルのパラメータ定数の格
納先を示すテーブルを生成するように構成したので、そ
のテーブルを参照すれば、シンボルのパラメータ定数の
格納先を認識することができるようになり、その結果、
ソースコードのコンパイルに関与していない監視操作装
置でも、各シンボルのパラメータ定数を容易に検索する
ことができる効果がある。
According to the third aspect of the present invention, when the object code is generated, the table indicating the storage location of the parameter constants of the symbol is generated. Therefore, by referring to the table, the parameter constants of the symbol can be obtained. It becomes possible to recognize the storage location of
Even in the monitoring operation device that is not involved in compiling the source code, the parameter constant of each symbol can be easily retrieved.

【0045】請求項4記載の発明によれば、オブジェク
トコードを生成する際、シンボルを分類付ける名称を付
加して生成し、その名称に基づいて関連するシンボルの
パラメータ及びパラメータ定数を表示するように構成し
たので、複数のシンボルが互いに関連する場合、互いに
関連する複数のシンボルのパラメータ及びパラメータ定
数を同時に表示することができ、パラメータ及びパラメ
ータ定数の変更が容易になる効果がある。
According to the fourth aspect of the invention, when the object code is generated, a name for classifying the symbols is added and generated, and the parameters and parameter constants of the related symbols are displayed based on the name. With this configuration, when the plurality of symbols are related to each other, the parameters and the parameter constants of the plurality of related symbols can be displayed at the same time, and the parameters and the parameter constants can be easily changed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1によるプログラム管
理装置を示す構成図である。
FIG. 1 is a configuration diagram showing a program management device according to a first embodiment of the present invention.

【図2】 新たに配置するシンボルと既に配置されてい
るシンボルが重なり合う態様を示す平面図である。
FIG. 2 is a plan view showing a mode in which a newly arranged symbol and a already arranged symbol overlap each other.

【図3】 この発明の実施の形態2によるプログラム管
理装置を示す構成図である。
FIG. 3 is a configuration diagram showing a program management device according to a second embodiment of the present invention.

【図4】 アプリケーションプログラムを説明する説明
図である。
FIG. 4 is an explanatory diagram illustrating an application program.

【図5】 アプリケーションプログラムを説明する説明
図である。
FIG. 5 is an explanatory diagram illustrating an application program.

【図6】 この発明の実施の形態4によるプログラム管
理装置を示す構成図である。
FIG. 6 is a configuration diagram showing a program management device according to a fourth embodiment of the present invention.

【図7】 シンボルのパラメータ等の表示を説明する説
明図である。
FIG. 7 is an explanatory diagram illustrating display of symbol parameters and the like.

【図8】 従来のプログラム管理装置が適用するプラン
ト監視制御装置を示す構成図である。
FIG. 8 is a configuration diagram showing a plant monitoring control device applied by a conventional program management device.

【図9】 従来のプログラム管理装置を示す構成図であ
る。
FIG. 9 is a block diagram showing a conventional program management device.

【図10】 プログラム管理装置におけるCRTの画面
を示す画面図である。
FIG. 10 is a screen diagram showing a screen of a CRT in the program management device.

【図11】 画素情報テーブルの格納状態を説明する説
明図である。
FIG. 11 is an explanatory diagram illustrating a storage state of a pixel information table.

【図12】 アプリケーションプログラムを説明する説
明図である。
FIG. 12 is an explanatory diagram illustrating an application program.

【図13】 シンボルのパラメータ等の表示を説明する
説明図である。
FIG. 13 is an explanatory diagram illustrating display of symbol parameters and the like.

【符号の説明】[Explanation of symbols]

11 位置指定手段、12 座標計算手段、16 シン
ボル接続手段、17,34,35 生成手段、21 新
たに配置するシンボル、22,23 既に配置されてい
るシンボル、31 記憶手段、32 判定手段、33
シンボル配置手段、36 表示手段。
11 position designation means, 12 coordinate calculation means, 16 symbol connection means, 17, 34, 35 generation means, 21 newly placed symbols, 22, 23 already placed symbols, 31 storage means, 32 determination means, 33
Symbol arrangement means, 36 display means.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画面上に新たに配置するシンボルの位置
を指定する位置指定手段と、上記位置指定手段により指
定された位置にシンボルが配置された場合を仮定して、
そのシンボルが専有する位置の座標を計算する座標計算
手段と、既に画面上に配置されているシンボルが専有す
る位置の座標を格納する記憶手段と、上記座標計算手段
により計算された座標と上記記憶手段が格納する座標を
比較して、新たに配置するシンボルが既に配置されてい
るシンボルと重なる部分があるか否かを判定する判定手
段と、上記判定手段により重なる部分がないと判定され
た場合には、新たに配置するシンボルを上記位置指定手
段により指定された位置に配置するとともに、そのシン
ボルが専有する位置の座標を上記記憶手段に格納するシ
ンボル配置手段と、画面上に配置されているシンボルを
接続するシンボル接続手段と、上記シンボル接続手段に
より接続されたシンボルをコンパイルしてオブジェクト
コードを生成する生成手段とを備えたプログラム管理装
置。
1. A position specifying means for specifying a position of a symbol to be newly arranged on a screen, and a case where a symbol is arranged at a position specified by the position specifying means,
Coordinate calculation means for calculating the coordinates of the position occupied by the symbol, storage means for storing the coordinates of the position occupied by the symbol already arranged on the screen, coordinates calculated by the coordinate calculation means and the storage A means for comparing the coordinates stored by the means to determine whether or not a newly arranged symbol overlaps with an already arranged symbol, and a case where the judgment means determines that there is no overlapping portion. Is arranged on the screen with a symbol arrangement means for arranging a symbol to be newly arranged at the position designated by the position designating means and storing the coordinates of the position occupied by the symbol in the storage means. The symbol connecting means for connecting the symbols and the symbols connected by the symbol connecting means are compiled to generate an object code. Program management apparatus and a forming means.
【請求項2】 生成手段はオブジェクトコードを生成す
る際、シンボルのパラメータ定数を固定化されたメモリ
エリアに割り付けることを特徴とする請求項1記載のプ
ログラム管理装置。
2. The program management device according to claim 1, wherein the generating means allocates the parameter constants of the symbols to the fixed memory area when generating the object code.
【請求項3】 生成手段はオブジェクトコードを生成す
る際、シンボルのパラメータ定数の格納先を示すテーブ
ルを生成することを特徴とする請求項1記載のプログラ
ム管理装置。
3. The program management device according to claim 1, wherein the generation means generates a table indicating a storage destination of the parameter constants of the symbols when generating the object code.
【請求項4】 オブジェクトコードを生成する際、生成
手段がシンボルを分類付ける名称を付加して生成し、そ
の名称に基づいて関連するシンボルのパラメータ及びパ
ラメータ定数を表示する表示手段を設けたことを特徴と
する請求項1から請求項3のうちのいずれか1項記載の
プログラム管理装置。
4. When the object code is generated, the generating means adds a name for classifying the symbols and generates the symbols, and a display means is provided for displaying the parameters and parameter constants of the related symbols based on the name. The program management device according to any one of claims 1 to 3, which is characterized.
JP27426895A 1995-10-23 1995-10-23 Program managing device Pending JPH09114506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27426895A JPH09114506A (en) 1995-10-23 1995-10-23 Program managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27426895A JPH09114506A (en) 1995-10-23 1995-10-23 Program managing device

Publications (1)

Publication Number Publication Date
JPH09114506A true JPH09114506A (en) 1997-05-02

Family

ID=17539301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27426895A Pending JPH09114506A (en) 1995-10-23 1995-10-23 Program managing device

Country Status (1)

Country Link
JP (1) JPH09114506A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000353086A (en) * 1999-06-09 2000-12-19 Mitsubishi Electric Corp Program management device and program management method
KR101537467B1 (en) * 2014-01-16 2015-07-16 두산중공업 주식회사 System and method for expansion of edit area on CAD drawing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000353086A (en) * 1999-06-09 2000-12-19 Mitsubishi Electric Corp Program management device and program management method
KR101537467B1 (en) * 2014-01-16 2015-07-16 두산중공업 주식회사 System and method for expansion of edit area on CAD drawing
WO2015108304A1 (en) * 2014-01-16 2015-07-23 두산중공업 주식회사 Method and system for enlarging editing area of canvas

Similar Documents

Publication Publication Date Title
US5835916A (en) Document preparing apparatus capable of relocating cells forming a table and resetting cell size
JPS62267874A (en) Designing back-up device
JP3995114B2 (en) Switch image display method
JPH09114506A (en) Program managing device
JP3307790B2 (en) Flow diagram creation device
JPH0667838A (en) Display processor
JPH09128198A (en) Method for displaying plural pictures
JPH0951880A (en) Method and device for display of arrhythmia recall waveform
JPH0896001A (en) Flowchart editing device
JPH03206574A (en) Raster scan type labeling processing system
WO1993008957A1 (en) Method of automatically selecting proximity point in program
JPH0529951B2 (en)
JPH09153079A (en) Drawing preparation system
JP3529880B2 (en) Data management apparatus and method
JP2705225B2 (en) CRT display device
JP2596740B2 (en) Image retrieval device
JPH0457271B2 (en)
JP2634905B2 (en) How to paint shapes
JP3346890B2 (en) Figure selection device
JP2842511B2 (en) Form creation device
JPH04172566A (en) Shape changing method for wiring pattern
JPH10187425A (en) User interface screen generation support device
JPH0927043A (en) Repeated pattern generating device
JPH0772908B2 (en) Drawing management method, drawing management apparatus and drawing display method thereof
JP3311057B2 (en) Graphic processing apparatus and method