JPH11296357A - Flow chart input device - Google Patents

Flow chart input device

Info

Publication number
JPH11296357A
JPH11296357A JP10112756A JP11275698A JPH11296357A JP H11296357 A JPH11296357 A JP H11296357A JP 10112756 A JP10112756 A JP 10112756A JP 11275698 A JP11275698 A JP 11275698A JP H11296357 A JPH11296357 A JP H11296357A
Authority
JP
Japan
Prior art keywords
flowchart
functional part
input device
data
functional
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
JP10112756A
Other languages
Japanese (ja)
Inventor
Zenshi Yamada
善嗣 山田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10112756A priority Critical patent/JPH11296357A/en
Publication of JPH11296357A publication Critical patent/JPH11296357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily generate a correct flow chart without an error in PRO GRAM by arranging function parts selected by an input device to designated positions and editing flow chart data which indicates a flow chart structure. SOLUTION: A user generates a flow chart while viewing a display device 5 through the use of the input device 1. The device 1 is constituted of the parts such as a keyboard 1A and a mouse 1B, for displaying the intention of the user in the device. In this case, the device 1 selects the optional function parts stored in a function parts library 6 and designates that they are displayed at the prescribed positions on a display device 5. Then, an input part 2 analyzes the operation of the user, judges the propriety of the operation and gives a proper indication to a flow chart editing part 3. The part 3 executes a processing for editing flow chart data 7 in accordance with the intention of the user.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ソフトウェア開
発、特にメカトロニクス製品の開発等を支援するための
ドキュメントからプログラムへの自動変換可能なCAS
E(computer aidedsoftware engineering)ツールとな
り得る、フローチャート入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAS capable of automatically converting a document into a program for supporting software development, especially development of a mechatronics product.
The present invention relates to a flowchart input device that can be an E (computer aided software engineering) tool.

【0002】[0002]

【従来の技術】メカトロニクス製品は、論理回路、機
構、ソフトウェアの3要素からなる。そのため、機構設
計者、ソフトウェア設計者、回路設計者の三者が共同し
て製品開発を進めなければならない。通常、機構をどの
ように制御し、どのように動作させるかというイメージ
は、その機構を設計した設計者が持っている。しかしな
がら、一般に機構設計者はそのイメージをソフトウェア
として実現する技術を持たない。一方、ソフトウェア設
計者は、ソフトウェアを実現する技術を持っていても、
新たに設計された機構の制御方法や動作は機構設計者か
ら聞かなければならない。従って、機構設計者は、機構
の制御、動作イメージをソフトウェア設計者に伝達する
ためのドキュメントを作成する必要がある。
2. Description of the Related Art A mechatronics product is composed of three elements: a logic circuit, a mechanism, and software. Therefore, a mechanism designer, a software designer, and a circuit designer must work together to develop a product. Usually, a designer who designs the mechanism has an image of how to control and operate the mechanism. However, mechanism designers generally do not have the technology to realize the image as software. On the other hand, even if software designers have the technology to realize software,
The control method and operation of the newly designed mechanism must be heard from the mechanism designer. Therefore, the mechanism designer needs to create a document for transmitting the control and operation image of the mechanism to the software designer.

【0003】ソフトウェア設計者は機構設計者から受け
取ったドキュメントをもとに、ソフトウェアを開発す
る。このため、そのドキュメントには矛盾や曖昧さがな
いこと、プログラム的に見て正しいことが要求される。
しかし、機構設計者はソフトウェア設計の技術を持たな
いため、こうしたドキュメントを作成するのは容易でな
い。従って、ソフトウェア設計の技術を持たない者でも
正しいドキュメントを容易に描き得るツールが必要とな
る。
[0003] A software designer develops software based on a document received from a mechanism designer. This requires that the document be free of inconsistencies and ambiguities, and be programmatically correct.
However, since the mechanism designer has no software design technology, it is not easy to create such a document. Therefore, there is a need for a tool that can easily draw a correct document even for a person who does not have software design technology.

【0004】また、メカトロニクス製品のソフトウェア
は、高度な処理速度性能が要求される。そのため、割り
込みを多用したイベントドリブン指向のプログラムとな
る。従って、機構作成者が作成するドキュメントも、現
実のプログラムに即したイベントドリブン指向で記述さ
れていることが望ましい。
In addition, software for mechatronics products is required to have high processing speed performance. Therefore, the program is an event-driven program that makes extensive use of interrupts. Therefore, it is desirable that the document created by the mechanism creator is also described in an event-driven manner according to the actual program.

【0005】即ち、メカトロニクス製品の開発に適用す
るドキュメント作成ツールには次のような用件が望まれ
る。1.ソフトウェアの知識がなくても、正しいドキュ
メントが作成できること。2.イベントドリブン指向の
記述が可能なこと。
[0005] That is, the following requirements are desired for a document creation tool applied to the development of mechatronics products. 1. To be able to create correct documents without knowledge of software. 2. Event-driven description is possible.

【0006】一方、従来から行われているドキュメント
の作成方法には以下のようなものがある。 1.手作業でフローチャートを描く。 2.ドロー系ツールを使用してフローチャートを描く。 3.HCPチャート、PAD、HIPO、NSチャート
と呼ばれるソフトウェア開発専用のCASEツールを使
用する。 4.フローチャートを採用したCASEツールを使用す
る。
[0006] On the other hand, there are the following methods for creating documents conventionally. 1. Draw a flowchart by hand. 2. Use a drawing tool to draw a flowchart. 3. A CASE tool dedicated to software development called an HCP chart, a PAD, a HIPO, and an NS chart is used. 4. Use a CASE tool with a flowchart.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記のよう
な従来の技術には次のような解決すべき課題があった。
フローチャートを手作業で描くには多大な工数が必要に
なる。また、記述の自由度が大きすぎて、フローチャー
トの正当性のチェックも人に頼らざるを得ない。更に、
ソフトウェアの知識がないと、システムのサポートがな
ければ、正しいフローチャートを作成することが困難で
ある。フローチャート用のテンプレートを用意したドロ
ー系のツールを使用すれば、図形描画が容易になり、入
力工数は削減される。しかし、その他の問題点は手作業
と変わらない。
However, the above-mentioned prior art has the following problems to be solved.
Drawing a flowchart manually requires a lot of man-hours. In addition, the degree of freedom of description is too large, and humans must rely on checking the validity of the flowchart. Furthermore,
Without software knowledge, it is difficult to create a correct flowchart without system support. If a drawing-based tool having a template for a flowchart is used, figure drawing becomes easy, and input man-hours are reduced. However, other problems are the same as manual work.

【0008】一方、HCPチャート、PAD、HIP
O、NSチャート等のCASEツールは、フローチャー
トを用いないため、上記の問題が解決される。また、こ
の手法自体、フローチャートに比べて適切に自由度が制
限され、比較的正しいドキュメントを書き易い。また、
プログラムへの自動変換も考慮して開発がされている。
しかしながら、これらの手法は、まだ一般的でなく、標
準化もなされておらず、特にソフトウェア設計者でない
者にとって馴染みが薄いという問題がある。
On the other hand, HCP chart, PAD, HIP
Since the CASE tools such as the O and NS charts do not use a flowchart, the above problem is solved. In addition, this method itself has an appropriately limited degree of freedom as compared with a flowchart, and it is easy to write a relatively correct document. Also,
It has been developed taking into account automatic conversion to programs.
However, there is a problem that these methods are not yet general and have not been standardized, so that they are not particularly familiar to non-software designers.

【0009】フローチャートを使用したCASEツール
は多くは存在しない。特に、プログラムに自動変換可能
なものはまれである。また、フローチャートという手法
自体の問題点から、gotoレスの構造化されたプログ
ラムに変換できるものは見当たらない。即ち、従来のC
ASEツールはソフトウェア設計者を対象にしたものが
多く、プログラミングの知識がないと正しいドキュメン
トを作成することは困難である。また、これらのツール
には組込み機器用即ちメカトロニクス製品用に特化され
たものは少ない。そのため、イベントドリブン指向のド
キュメントを作成できるものが少ない。
There are not many CASE tools that use flowcharts. In particular, those that can be automatically converted to programs are rare. Also, due to the problem of the flow chart itself, there is no program that can be converted into a goto-less structured program. That is, the conventional C
Many ASE tools are intended for software designers, and it is difficult to create correct documents without programming knowledge. Also, few of these tools are specialized for embedded devices, that is, for mechatronics products. Therefore, there are few things that can create event-driven documents.

【0010】[0010]

【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉フローチャート中に使用されて、一定の処理
を完結する手順を表現するための図形パーツ群を機能パ
ーツと呼ぶとき、機能パーツのイメージを複数格納した
機能パーツライブラリと、上記機能パーツライブラリに
格納された任意の機能パーツを選択して、表示装置上の
所定の位置に表示するように指定する入力装置と、入力
装置により選択された上記機能パーツを、指定された位
置に配置するようにして、フローチャートの構造を示す
フローチャートデータを編集するフローチャート編集部
とを備えたことを特徴とするフローチャート入力装置。
The present invention employs the following structure to solve the above problems. <Structure 1> When a group of graphic parts used in a flowchart to represent a procedure for completing a certain process is called a functional part, a functional part library storing a plurality of images of the functional part, and the functional part library described above. An input device for selecting an arbitrary functional part stored in the display device and displaying it at a predetermined position on the display device, and arranging the functional part selected by the input device at a specified position. And a flowchart editing unit for editing flowchart data indicating the structure of the flowchart.

【0011】〈構成2〉構成1に記載のフローチャート
入力装置において、各機能パーツには、予め他の機能パ
ーツを挿入して配置することができる位置を表示する空
パーツが含められることを特徴とするフローチャート入
力装置。
<Structure 2> In the flowchart input device according to Structure 1, each functional part includes an empty part indicating a position where another functional part can be inserted and arranged in advance. Flow chart input device.

【0012】〈構成3〉構成2に記載のフローチャート
入力装置において、入力装置により指定された機能パー
ツの挿入位置が、既に表示装置に表示された機能パーツ
の空パーツ上でないときは、挿入を拒絶する挿入判定部
を備えたことを特徴とするフローチャート入力装置。
<Structure 3> In the flowchart input device described in Structure 2, if the insertion position of the functional part specified by the input device is not on an empty part of the functional part already displayed on the display device, the insertion is refused. A flow chart input device, comprising:

【0013】〈構成4〉構成3に記載のフローチャート
入力装置において、各機能パーツの空パーツ部分に挿入
することができる機能パーツを予め限定する挿入判定マ
トリクスを備え、挿入判定部は、上記挿入判定マトリク
スを参照して、入力装置により選択された機能パーツの
挿入を拒絶するかどうか判定することを特徴とするフロ
ーチャート入力装置。
<Structure 4> In the flowchart input device according to Structure 3, an insertion judgment matrix for preliminarily limiting the functional parts that can be inserted into the empty part of each functional part is provided. A flowchart input device for determining whether to reject insertion of a functional part selected by an input device with reference to a matrix.

【0014】〈構成5〉構成1に記載のフローチャート
入力装置において、フローチャート編集部は、既に表示
装置に表示されたフローチャート中に、新たな機能パー
ツが挿入されたときは、次に他の機能パーツを挿入して
配置することができる位置を表示する空パーツを、上記
フローチャート中の機能パーツ間に配置することを特徴
とするフローチャート入力装置。
<Structure 5> In the flowchart input device described in Structure 1, when a new functional part is inserted into the flowchart already displayed on the display device, the flowchart editing unit may execute another function part. 2. A flowchart input device, wherein empty parts for displaying positions where a character can be inserted and arranged are arranged between functional parts in the flowchart.

【0015】〈構成6〉構成1に記載のフローチャート
入力装置において、各機能パーツには、予め、プログラ
ムの流れを示す矢印を接続することができる位置を表示
する接続点マークが含められることを特徴とするフロー
チャート入力装置。
<Structure 6> In the flowchart input device described in Structure 1, each functional part is characterized in that a connection point mark indicating a position to which an arrow indicating a program flow can be connected is included in advance. Flowchart input device.

【0016】〈構成7〉構成6に記載のフローチャート
入力装置において、表示装置上に表示された任意の機能
パーツに含まれる矢印の接続位置が、入力装置により指
定されたとき、既に表示装置に表示された機能パーツの
接続点マーク上でない場合にその接続を拒絶する接続判
定部を備えたことを特徴とするフローチャート入力装
置。
<Structure 7> In the flowchart input device described in Structure 6, when the connection position of an arrow included in an arbitrary functional part displayed on the display device is designated by the input device, the connection position is already displayed on the display device. A flow chart input device comprising: a connection judging unit for rejecting the connection when the connection is not on the connection point mark of the set functional part.

【0017】〈構成8〉構成7に記載のフローチャート
入力装置において、接続判定部は、指定された矢印の接
続位置が既に表示装置に表示されている機能パーツとの
関係から所定の基準を満たさないときは、入力装置によ
り指定された矢印の接続を拒絶することを特徴とするフ
ローチャート入力装置。
<Structure 8> In the flowchart input device described in Structure 7, the connection determination unit does not satisfy a predetermined criterion based on a relationship between the designated arrow connection position and the functional part already displayed on the display device. A flowchart input device for rejecting a connection of an arrow specified by the input device.

【0018】〈構成9〉構成1に記載のフローチャート
入力装置において、フローチャート編集部は、フローチ
ャートデータを階層構造により表現し、状態を示すステ
ップに関する情報と、状態遷移を示す矢印に関する情報
とを含むデータ階層の下に、上記状態を示すステップの
属性情報を含むデータ階層を設けるようにしたことを特
徴とするフローチャート入力装置。
<Structure 9> In the flowchart input device according to Structure 1, the flowchart editing unit expresses the flowchart data in a hierarchical structure, and includes data related to steps indicating a state and information related to arrows indicating a state transition. A flowchart input device, wherein a data hierarchy including attribute information of a step indicating the state is provided below the hierarchy.

【0019】〈構成10〉構成9に記載のフローチャー
ト入力装置において、フローチャートデータ中の、状態
を示すステップに関する情報と、状態遷移を示す矢印に
関する情報とを含むデータ階層を選択するとともに、上
記状態遷移の原因となるイベントをさらに下層のデータ
階層から抽出して状態遷移図を生成する状態遷移図生成
部を備えたことを特徴とするフローチャート入力装置。
<Structure 10> In the flowchart input device according to Structure 9, a data hierarchy including information on a step indicating a state and information on an arrow indicating a state transition in the flowchart data is selected, and the state transition is performed. A flow chart input device, comprising: a state transition diagram generation unit that extracts an event that causes an event from a lower data hierarchy to generate a state transition diagram.

【0020】〈構成11〉構成1に記載のフローチャー
ト入力装置において、各機能パーツに対応させて用意さ
れたプログラムソースコードと、フローチャートデータ
とを編集して、フローチャートを実行するためのソース
プログラムを自動生成するプログラム生成部を備えたこ
とを特徴とするフローチャート入力装置。
<Structure 11> In the flowchart input device described in Structure 1, the program source code prepared for each functional part and the flowchart data are edited to automatically execute the source program for executing the flowchart. A flowchart input device comprising a program generation unit for generating.

【0021】〈構成12〉フローチャート中に使用され
て、一定の処理を完結する手順を表現するための図形パ
ーツ群を機能パーツと呼ぶとき、予め、機能パーツのイ
メージを複数格納した機能パーツライブラリを用意し
て、入力装置により、上記機能パーツライブラリに格納
された任意の機能パーツを選択して、表示装置上の所定
の位置に表示するように指定したとき、選択された上記
機能パーツを、指定された位置に配置するようにして、
フローチャートの構造を示すフローチャートデータを編
集するように動作する、フローチャート入力用のコンピ
ュータプログラムを記録した記録媒体。
<Structure 12> When a group of graphic parts used to represent a procedure for completing a certain process used in the flowchart is called a functional part, a functional part library in which a plurality of functional part images are stored in advance is used. Prepare and use the input device to select an arbitrary functional part stored in the functional parts library and specify it to be displayed at a predetermined position on the display device, and specify the selected functional part So that it is located at
A recording medium storing a computer program for inputting a flowchart, which operates to edit flowchart data indicating the structure of the flowchart.

【0022】〈構成13〉フローチャート中に使用され
て、一定の処理を完結する手順を表現するための図形パ
ーツ群を機能パーツと呼ぶとき、予め、機能パーツのイ
メージを複数格納した機能パーツライブラリを用意し
て、入力装置により、上記機能パーツライブラリに格納
された任意の機能パーツを選択して、表示装置上の所定
の位置に表示するように指定したとき、選択された上記
機能パーツを、指定された位置に配置するようにして、
フローチャートの構造を示すフローチャートデータを編
集するとともに、各機能パーツに対応させて用意された
プログラムソースコードと、フローチャートデータとを
編集して、フローチャートを実行するためのソースプロ
グラムを自動生成するように動作する、フローチャート
入力用のコンピュータプログラムを記録した記録媒体。
<Structure 13> When a group of graphic parts used in the flowchart to represent a procedure for completing a certain process is called a functional part, a functional part library in which a plurality of functional part images are stored in advance is used. Prepare and use the input device to select an arbitrary functional part stored in the functional parts library and specify it to be displayed at a predetermined position on the display device, and specify the selected functional part So that it is located at
Edits the flowchart data indicating the structure of the flowchart, edits the program source code prepared for each functional part and the flowchart data, and automatically generates a source program for executing the flowchart. Recording medium storing a computer program for inputting a flowchart.

【0023】[0023]

【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例1〉図1は、本発明のフローチャート入力装置
を示すブロック図である。図に示すようにこの装置は、
入力装置1、入力部2、フローチャート編集部3、フロ
ーチャート表示部4、表示装置5、機能パーツライブラ
リ6、フローチャートデータ7等から構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. <Embodiment 1> FIG. 1 is a block diagram showing a flowchart input device of the present invention. This device, as shown in the figure,
It comprises an input device 1, an input unit 2, a flowchart editing unit 3, a flowchart display unit 4, a display device 5, a functional parts library 6, flowchart data 7, and the like.

【0024】ユーザは、入力装置1を用いて表示装置5
を見ながらフローチャートを作成する。入力装置1は、
キーボード1Aやマウス1B等、ユーザの意志を装置に
指示するための部品により構成される。入力部2は、ユ
ーザの操作を解釈し、その操作の可否を判断し、フロー
チャート編集部3に適切な指示を出す処理を行う部分で
ある。フローチャート編集部3は、ユーザの意志に従っ
てフローチャートデータ7を編集する処理を行う部分で
ある。
The user uses the input device 1 to display the display device 5.
Create a flowchart while watching The input device 1
It is composed of components such as a keyboard 1A and a mouse 1B for indicating a user's intention to the apparatus. The input unit 2 is a unit that interprets a user operation, determines whether or not the operation is possible, and performs a process of issuing an appropriate instruction to the flowchart editing unit 3. The flowchart editing unit 3 is a part that performs a process of editing the flowchart data 7 according to the user's will.

【0025】フローチャート表示部4は、フローチャー
トデータ7の更新状態を監視して、編集されて更新され
たフローチャートデータをそのつど表示装置5に表示す
る制御を行う部分である。更に、フローチャート表示部
4は、ユーザに対し操作の可否を知らせる処理も行う。
表示装置5は、ブラウン管ディスプレイや液晶表示盤等
から成り、ユーザに編集結果を知らせるための装置であ
る。機能パーツライブラリ6は、後で詳しく説明するよ
うに、ユーザがフローチャートを構築する上でその部品
となるイメージや情報を格納する部分である。フローチ
ャートデータ7は、フローチャート編集部3によって編
集された、後で説明するような構造のデータから構成さ
れる。
The flowchart display unit 4 is a part for monitoring the update state of the flowchart data 7 and controlling to display the edited and updated flowchart data on the display device 5 each time. Further, the flowchart display unit 4 also performs a process of notifying the user of the availability of the operation.
The display device 5 includes a CRT display, a liquid crystal display panel, and the like, and is a device for notifying a user of an editing result. As will be described in detail later, the functional parts library 6 is a part for storing images and information that are parts of the flowchart when the user constructs the flowchart. The flowchart data 7 is composed of data edited by the flowchart editing unit 3 and having a structure as described later.

【0026】以上の装置は、例えばワークステーション
やパーソナルコンピュータに上記の機能ブロックを実現
するコンピュータプログラムをインストールして実現さ
れる。入力部2、フローチャート編集部3、フローチャ
ート表示部4等は、それぞれの機能を実現するプログラ
ムモジュールにより構成される。また、機能パーツライ
ブラリ6やフローチャートデータ7は、コンピュータ中
に設けられた記憶装置の内部に蓄積された所定の構成の
データにより実現される。
The above-described apparatus is realized by, for example, installing a computer program for realizing the above functional blocks in a workstation or a personal computer. The input unit 2, the flowchart editing unit 3, the flowchart display unit 4, and the like are configured by program modules for realizing the respective functions. The functional parts library 6 and the flowchart data 7 are realized by data of a predetermined configuration stored in a storage device provided in the computer.

【0027】図2に、図1に示した表示装置5に表示さ
れたウインドウの概略図を示す。この画面は、フローチ
ャート入力作業を行う場合に表示される画面で、メイン
ウインドウ11とパーツパレット12とから構成され
る。メインウインドウ11には、フローチャートを作成
し表示するためのフローチャート表示エリア13と、ユ
ーザが各種の操作を指示するためのメインメニュー14
と、マウスを用いてクリックし具体的な操作を直接指示
するツールボタン群15を備えている。パーツパレット
12には、図1に示した機能パーツライブラリ6の様々
な機能パーツ6Aを選択するボタンが並んでいる。な
お、ツールボタン群15や機能パーツ6Aを選択するボ
タンの細部の図示は、ここでは省略している。
FIG. 2 is a schematic diagram of a window displayed on the display device 5 shown in FIG. This screen is displayed when a flowchart input operation is performed, and includes a main window 11 and a parts palette 12. The main window 11 includes a flowchart display area 13 for creating and displaying a flowchart, and a main menu 14 for a user to instruct various operations.
And a tool button group 15 for directly instructing a specific operation by clicking with a mouse. On the parts palette 12, buttons for selecting various functional parts 6A of the functional parts library 6 shown in FIG. 1 are arranged. The details of the button for selecting the tool button group 15 and the functional part 6A are not shown here.

【0028】従来は、パーツパレットにより菱形や四角
形、矢印といった図形パーツのテンプレートを用意し、
こうしたフローチャートを構築するための部品として使
用していた。しかしながら、図形パーツ自体はプログラ
ムとして意味を持たず、フローチャート作成上の自由度
が大きすぎる。そこで、本発明では次のような機能パー
ツを単位としてフローチャートの作成を補助する。即
ち、図2のパーツパレット12は、機能パーツを1単位
の部品としている。
Conventionally, a template of a graphic part such as a rhombus, a square, and an arrow is prepared using a parts palette,
It was used as a part for constructing such a flowchart. However, the graphic parts themselves have no meaning as a program, and the degree of freedom in creating a flowchart is too large. Therefore, the present invention assists in creating a flowchart in units of the following functional parts. That is, the parts pallet 12 of FIG. 2 uses functional parts as one unit.

【0029】図3に、機能パーツの具体例説明図を示
す。図3の(a)〜(f)には、本発明でフローチャー
ト作成に使用する機能パーツの様々な例を示した。機能
パーツは、それぞれ、プログラム中に使用されて一定の
処理を完結する手順を表現するための図形パーツ群から
構成される。図形パーツというのは、既に説明したよう
に、菱形や四角形、矢印等のことである。
FIG. 3 is an explanatory diagram of a specific example of the functional parts. FIGS. 3A to 3F show various examples of functional parts used for creating a flowchart in the present invention. Each of the functional parts is composed of a group of graphic parts for expressing a procedure used in the program to complete a certain process. The graphic parts are diamonds, squares, arrows, and the like, as described above.

【0030】例えば、図3(a)は、「ステップ」と呼
ばれる機能パーツである。これは、待機ループ中でイベ
ントを発生すると、別の状態に遷移する機能を持ち、待
機ループ16中に判断用の菱形17を配置したものであ
る。これは状態遷移図の1つの状態に相当する。また、
状態遷移マトリクス表の列に相当する。このパーツが通
常のループと異なるのは、通常のループが処理の繰り返
しであるのに対し、ステップの機能パーツはタスクのウ
エイト状態に移行する点である。
For example, FIG. 3A shows functional parts called "steps". This has a function of transiting to another state when an event occurs in a standby loop, and a determination diamond 17 is arranged in the standby loop 16. This corresponds to one state in the state transition diagram. Also,
It corresponds to the column of the state transition matrix table. This part differs from a normal loop in that a normal loop is a repetition of processing, whereas a functional part of a step shifts to a task wait state.

【0031】イベント発生のチェックはオペレーティン
グシステムに任される。オペレーティングシステムはイ
ベントの発生を検知すると、そのイベントに対応した処
理を実行する。イベントドリブン指向のプログラムと
は、こうしたステップの組み合わせで記述されたプログ
ラムを指している。なお、同一の状態で複数種類のイベ
ント待ちを行うことがあるから、待機ループ16中に後
から任意の数の菱形17を挿入することができる。
The event occurrence check is left to the operating system. When detecting the occurrence of an event, the operating system executes a process corresponding to the event. An event-driven program is a program described by a combination of these steps. Since a plurality of types of event waiting may be performed in the same state, an arbitrary number of diamonds 17 can be inserted into the waiting loop 16 later.

【0032】図3(b)に示す分岐という機能パーツ
は、菱形17の部分で一定の条件判断をし、2種類のル
ートに分岐する機能を持つ。各分岐後のルートには必要
に応じて後から任意の処理が挿入される。これも入口か
ら出口までの間に一定の完結した処理を実行する機能を
持つ。(c)は、ケース文の機能パーツである。菱形1
7の部分で条件判断をし、ケースに応じて3つ以上のル
ートに分岐する。各ルートでは、それぞれケースに応じ
た処理が実行される。長方形18は、その処理を示す。
The function part called a branch shown in FIG. 3B has a function of making a certain condition judgment at the diamond 17 and branching to two types of routes. Arbitrary processing is inserted into the route after each branch as necessary. This also has a function of executing a certain complete process from the entrance to the exit. (C) is a functional part of the case sentence. Diamond 1
The condition is determined in the part 7 and the route branches to three or more routes according to the case. In each route, a process corresponding to each case is executed. A rectangle 18 indicates the processing.

【0033】図3(d)は、端子の機能パーツである。
プログラムの開始時や終了時に、このパーツ19が使用
される。(e)は前判定ループ、(f)は後判定ループ
である。前判定ループは、菱形17で一定の判断を行
い、例えば条件を満たさない場合には長方形18を含む
処理ループを繰り返し、条件を満たした場合にはこの機
能パーツの処理から抜ける。後判定ループの場合、予め
長方形18の処理を実行し、菱形17で条件判断を行
う。条件を満たさない場合には、長方形18を含む処理
ループを繰り返す。条件を満たした場合にはこの機能パ
ーツの処理を抜ける。
FIG. 3D shows functional parts of the terminal.
This part 19 is used at the start and end of the program. (E) is a pre-judgment loop, and (f) is a post-judgment loop. In the pre-judgment loop, a certain judgment is made with a diamond 17. For example, when the condition is not satisfied, the processing loop including the rectangle 18 is repeated, and when the condition is satisfied, the process exits from the functional part. In the case of the post-judgment loop, the processing of the rectangle 18 is executed in advance, and the condition judgment is performed with the diamond 17. If the condition is not satisfied, the processing loop including the rectangle 18 is repeated. If the condition is satisfied, the process exits from this functional part.

【0034】以上のように、いずれの機能パーツもプロ
グラム的に正しい意味を持ち、一定の処理を完結し、フ
ローチャート構築の単位となる。ユーザは、こうした機
能パーツを配列していくことによってフローチャートを
組み立てるので、プログラム的に正しいフローチャート
を記述することができる。また、これらの機能パーツに
よる処理の内容はそれぞれプログラムソースコードに対
応させることができる。
As described above, each functional part has a correct meaning in terms of a program, completes a certain process, and becomes a unit for constructing a flowchart. Since the user assembles a flowchart by arranging such functional parts, a correct flowchart can be described programmatically. Further, the contents of processing by these functional parts can correspond to program source codes.

【0035】例えば(a)は、イベントをそのままオペ
レーティングシステムに伝えるメッセージ群により記述
できる。(b)はいわゆるif〜Then,Else文
により記述される。また、(c)はcase文により記
述される。(d)の端子はend文である。(e)や
(f)は、if文やfor文により記述される。
For example, (a) can be described by a group of messages that directly convey an event to the operating system. (B) is described by a so-called if-Then, Else sentence. (C) is described by a case statement. The terminal of (d) is an end statement. (E) and (f) are described by an if sentence or a for sentence.

【0036】図4には、具体的なソフトウェア設計者が
フローチャートを設計する場合の設計例説明図を示す。
例えば、図4(a)に示すような機構についてフローチ
ャートを作成するものとする。図の(a)に示す機構
は、搬送モータ21を用いてコンベアー22を駆動し、
工作物23を図の右側から左側の方向に搬送するように
動作する。ここで、工作物23は、コンベアー22上を
搬送される途中、第1センサ24や第2センサ25によ
って位置検出される。第1センサ24が工作物23の通
過を検出すると一定の処理が実行される。更に、第2セ
ンサ25が工作物23を検出すると、別の処理が実行さ
れる。このような場合、図の(b)に示すようなフロー
チャートを作成する。
FIG. 4 is a diagram illustrating a design example when a specific software designer designs a flowchart.
For example, it is assumed that a flowchart is created for a mechanism as shown in FIG. The mechanism shown in FIG. 1A drives a conveyor 22 using a transport motor 21,
It operates to transport the workpiece 23 from the right side to the left side in the figure. Here, the position of the workpiece 23 is detected by the first sensor 24 and the second sensor 25 while being transported on the conveyor 22. When the first sensor 24 detects the passage of the workpiece 23, a certain process is executed. Further, when the second sensor 25 detects the workpiece 23, another process is executed. In such a case, a flowchart as shown in FIG.

【0037】即ち、図4(b)の処理S1において、モ
ータがスタートすると、処理S2において、第1センサ
24が工作物23の通過というイベント待ち状態に入
る。第1センサが工作物23を検出すると、S3の処理
1に進む。そして、その後処理S4に進み、第2センサ
が工作物23の通過待ちというイベント待ち状態に移
る。第2センサが工作物23の通過を検出すると、S5
に進んで処理2が実行される。
That is, in step S1 of FIG. 4B, when the motor starts, in step S2, the first sensor 24 enters an event waiting state in which the workpiece 23 passes. When the first sensor detects the workpiece 23, the process proceeds to the process 1 of S3. Then, the process proceeds to step S4, in which the second sensor shifts to an event waiting state of waiting for the workpiece 23 to pass. When the second sensor detects the passage of the workpiece 23, S5
And the process 2 is executed.

【0038】実際のメカトロニクス製品では、様々な複
雑な制御が行われるが、例えば図4(b)のような制御
を行う場合に、第1センサの監視や第2センサの監視に
は、図3(a)を用いて説明したステップの機能パーツ
をそのまま利用する。後は、図3には例示しなかった
が、長方形のみの処理を示す機能パーツを組み合わせ
る。本発明の装置は、こうしてフローチャートを作成す
る場合に活用される。
In an actual mechatronics product, various complicated controls are performed. For example, when the control as shown in FIG. 4B is performed, the monitoring of the first sensor and the monitoring of the second sensor are performed as shown in FIG. The functional parts of the steps described with reference to FIG. After that, although not illustrated in FIG. 3, functional parts indicating processing of only a rectangle are combined. The apparatus of the present invention is utilized when creating a flowchart in this way.

【0039】図5に、フローチャート作成とプログラム
への変換例説明図を示す。この図を用いて、図1に示す
装置の具体的なフローチャート入力操作を説明する。ま
ず、ユーザが図2に示すような画面を図1に示す表示装
置5に表示させる。そして、パーツパレット12から様
々な機能パーツをドラッグしてフローチャート表示エリ
ア13上にドロップする。この操作を繰り返すことによ
って、例えば図5(a)に示すようなフローチャートが
描かれる。このフローチャートは、初期処理の機能パー
ツの次に図3(a)に示したステップの機能パーツを接
続し、予めステップの機能パーツに含まれているイベン
ト1に更にイベント2の機能パーツを追加する。その
後、イベント処理1の機能パーツとイベント処理2の機
能パーツを接続する。
FIG. 5 is a diagram for explaining an example of creating a flowchart and converting the program. With reference to this figure, a specific flowchart input operation of the apparatus shown in FIG. 1 will be described. First, the user causes the display device 5 shown in FIG. 1 to display a screen as shown in FIG. Then, various functional parts are dragged from the parts palette 12 and dropped on the flowchart display area 13. By repeating this operation, for example, a flowchart as shown in FIG. 5A is drawn. In this flowchart, the functional parts of the step shown in FIG. 3A are connected next to the functional parts of the initial processing, and the functional parts of the event 2 are added to the event 1 included in the functional parts of the steps in advance. . After that, the functional parts of the event processing 1 and the functional parts of the event processing 2 are connected.

【0040】図1に示すマウス1Bの操作によって、こ
のような機能パーツがドラッグされると、入力部2が機
能パーツのドラッグ開始を検出する。ユーザは、フロー
チャート表示エリア13上の所定の位置を指定して、機
能パーツをドロップする。入力部2は、機能パーツのド
ロップを検出する。そして、そのドロップ位置がフロー
チャート中のどの位置かを判断する。フローチャート中
の適切な位置にその機能パーツが挿入された場合、これ
をフローチャート編集部3に通知する。
When such a functional part is dragged by operating the mouse 1B shown in FIG. 1, the input unit 2 detects the start of the drag of the functional part. The user specifies a predetermined position on the flowchart display area 13 and drops a functional part. The input unit 2 detects a drop of a functional part. Then, it is determined which position in the flowchart is the drop position. When the functional part is inserted at an appropriate position in the flowchart, this is notified to the flowchart editing unit 3.

【0041】フローチャート編集部3は、機能パーツラ
イブラリ6から該当する機能パーツのデータを取り出し
て、フローチャートデータ7の該当する部分に対応する
データを書き込む。フローチャート表示部4は、フロー
チャートデータ7が更新されたことを検出すると、表示
装置5に対し該当する機能パーツのイメージを取り出し
て表示する。以上のようにして、フローチャートの入力
編集が進められる。
The flowchart editing unit 3 extracts the data of the corresponding functional part from the functional part library 6 and writes the data corresponding to the corresponding part of the flowchart data 7. When detecting that the flowchart data 7 has been updated, the flowchart display unit 4 extracts and displays an image of the corresponding functional part on the display device 5. As described above, the input editing of the flowchart proceeds.

【0042】図5(b)は、従来のドロー系のツールを
使用する場合のフローチャート用図形パーツである。こ
の図に示す菱形17は、これだけではプログラム的に意
味をなさない。図の(c)に示すように、条件判断の結
果分岐するルートを示す矢印等が含まれて初めて、一定
の処理を完結する手順が表現される。このような機能パ
ーツ単位でフローチャートの作成を支援することにより
フローチャートの作成が容易になり、かつ、正確にな
る。更に、図5(c)に示すように、この機能パーツは
そのままif文に置き換えることができ、ソースプログ
ラムの自動作成が可能になる。
FIG. 5B is a diagram for a flowchart when a conventional drawing tool is used. The diamond 17 shown in this figure alone has no programmatic significance. As shown in (c) of the figure, a procedure for completing a certain process is expressed only when an arrow or the like indicating a branch route as a result of the condition determination is included. By supporting the creation of the flowchart in units of such functional parts, the creation of the flowchart becomes easy and accurate. Further, as shown in FIG. 5C, this functional part can be directly replaced with an if sentence, and a source program can be automatically created.

【0043】〈具体例1の効果〉以上のように、プログ
ラム作成を機能パーツ単位で行い、機能パーツのイメー
ジを格納した機能パーツライブラリと、そのフローチャ
ート中の位置を指定する入力装置と、フローチャートデ
ータを編集するフローチャート編集部等によってプログ
ラム的に誤りのない正しいフローチャートが容易に作成
できるという効果がある。
<Effects of Specific Example 1> As described above, a functional part library in which a program is created for each functional part and an image of the functional part is stored, an input device for specifying a position in the flowchart, and a flowchart data There is an effect that a correct flowchart free from programmatic errors can be easily created by a flowchart editing unit or the like that edits.

【0044】〈具体例2〉上記のようにフローチャート
を作成していく場合に、機能パーツを相互に接続しある
いは機能パーツの各部に別の機能パーツを挿入する作業
が進められる。ここでは、ユーザによる機能パーツの挿
入位置が正しいかどうかを判断し、フローチャートの作
成を支援する例を説明する。
<Specific Example 2> When the flowchart is created as described above, the operation of connecting the functional parts to each other or inserting another functional part into each part of the functional part is performed. Here, an example will be described in which it is determined whether the insertion position of the functional part by the user is correct and the creation of the flowchart is supported.

【0045】図6には、これを実現するための装置ブロ
ック図を示す。この図は、図1に示した装置の構成を基
準とし、同一部分には同一符号を付している。この具体
例2の装置には、図1に示した装置に挿入判定部31を
追加している。
FIG. 6 shows an apparatus block diagram for realizing this. In this figure, the same components are denoted by the same reference numerals based on the configuration of the device shown in FIG. In the device of this specific example 2, an insertion determination unit 31 is added to the device shown in FIG.

【0046】図7には、挿入判定用表示例説明図(その
1)を示す。図の(a)は、入口端子の機能パーツと出
口端子の機能パーツを組み合わせたものである。実際に
は、この間に様々な機能パーツが挿入されてフローチャ
ートが完成する。図に示す入口端子と出口端子の中間に
○印を表示している。この○印は、予め他の機能パーツ
を挿入して配置することができる位置を表示するための
もので、本発明では空パーツと呼ぶことにする。
FIG. 7 is an explanatory diagram (1) of a display example for insertion determination. (A) of the figure combines the functional parts of the entrance terminal and the functional parts of the exit terminal. Actually, various functional parts are inserted during this period to complete the flowchart. A circle is displayed between the entrance terminal and the exit terminal shown in the figure. The 印 marks indicate positions where other functional parts can be inserted and arranged in advance, and are referred to as empty parts in the present invention.

【0047】各機能パーツには、予めこのような空パー
ツを含めておき、パーツパレットからドラッグしてきた
機能パーツをドロップすることができるポイントをガイ
ドする。なお、この○印で示した空パーツと重ねて表示
されている×印は、後で説明するフローチャート中の矢
印の先を接続することができる接続点マークを表す。
Each functional part includes such an empty part in advance, and guides a point where the functional part dragged from the parts palette can be dropped. In addition, the cross mark superimposed and displayed with the empty part indicated by the circle mark represents a connection point mark to which the tip of an arrow in a flowchart described later can be connected.

【0048】図の(b)には、(a)のフローチャート
中にいくつかの機能パーツが挿入された新たなフローチ
ャートを示す。図中の、例えば破線の○印は、イベント
2を含むステップ中に別のイベントを挿入することがで
きる空パーツである。また、◎の空パーツは、各機能パ
ーツの入り口や出口に配置されている。○印の空パーツ
は、各機能パーツの間に配置されている。これらの、○
印や◎印、破線の○印といった空パーツは、必要に応じ
てそれぞれ挿入することができる機能パーツの種類を区
別するために色分けされたり、形状を変えて表示された
ものである。
FIG. 5B shows a new flowchart in which some functional parts are inserted in the flowchart of FIG. In the drawing, for example, a broken circle o is an empty part into which another event can be inserted during the step including the event 2. Empty parts are also placed at the entrance and exit of each functional part. The empty parts marked with ○ are arranged between the functional parts. These, ○
Blank parts such as marks, ◎ marks, and broken circles ○ are displayed in different colors or in different shapes to distinguish the types of functional parts that can be inserted as necessary.

【0049】そして、ユーザがパーツをドラッグしてい
る間、マウスカーソルは、ドロップ可能な位置にいると
きと、不可能な位置にいるときで、その形状を変化させ
る。こうして、ユーザに機能パーツのドロップ位置を意
識させることができる。また、ドロップ不可能な位置に
ユーザが機能パーツをドロップしようとしても、システ
ムはその操作を無視する。こうした動作自体は、既存の
ソフトウエアにより既に広く実施されており、容易に実
現できる。
While the user is dragging the part, the mouse cursor changes its shape between a position where it can be dropped and a position where it cannot be dropped. Thus, the user can be made aware of the drop position of the functional part. Also, if the user attempts to drop a functional part at a position where it cannot be dropped, the system ignores the operation. Such an operation itself has already been widely implemented by existing software and can be easily realized.

【0050】次に、本発明の装置の動作を説明する。ま
ず、ユーザは入力装置1を使って、図2に示したような
パーツパレット12中の機能パーツをドラッグする。入
力部2は、機能パーツのドラッグ開始を検出する。入力
部2は、ドラッグ中のパーツの位置を順次検出して、そ
の位置情報を挿入判定部31に渡す。挿入判定部31
は、ドラッグ中のパーツ位置が空パーツの上にあるかど
うかを判定する。そして、その結果をフローチャート表
示部4に通知する。フローチャート表示部4は、入力部
2の指示に従ってドラッグ中のマウスカーソルの形状を
変更して、ユーザにその位置がドロップ可能な位置かど
うかを通知する。
Next, the operation of the device of the present invention will be described. First, the user uses the input device 1 to drag a functional part in the parts palette 12 as shown in FIG. The input unit 2 detects the start of dragging of a functional part. The input unit 2 sequentially detects the positions of the parts being dragged, and passes the position information to the insertion determination unit 31. Insertion determination unit 31
Determines whether the part position being dragged is on an empty part. Then, the result is notified to the flowchart display unit 4. The flowchart display unit 4 changes the shape of the mouse cursor being dragged in accordance with the instruction from the input unit 2, and notifies the user whether the position is a droppable position.

【0051】機能パーツがドロップされた場合、入力部
2はそれを検知し、ドロップされた位置を挿入判定部3
1に通知する。挿入判定部31は、ドロップされた位置
が空パーツ上かどうかを判断し、不適切であればその操
作を無視する。また、挿入判定部31は、ドロップされ
た位置が空パーツ上であれば、フローチャート上の該当
位置にパーツが挿入されたことをフローチャート編集部
3に通知する。
When a functional part is dropped, the input unit 2 detects the drop and determines the position where the functional part was dropped.
Notify 1. The insertion determination unit 31 determines whether the dropped position is on an empty part, and ignores the operation if inappropriate. If the dropped position is on an empty part, the insertion determination unit 31 notifies the flowchart editing unit 3 that a part has been inserted at the corresponding position on the flowchart.

【0052】フローチャート編集部3は、機能パーツラ
イブラリ6から機能パーツのデータを取り出し、フロー
チャートデータ7の該当する部分にパーツデータを挿入
する。フローチャート編集部3は、新たな機能パーツが
挿入されたことによって、新たに必要となる空パーツを
フローチャートデータ7に挿入する。フローチャート表
示部4は、フローチャートデータ7が更新されたことを
検出すると、その結果を表示装置5に出力しフローチャ
ートを更新して表示する。
The flowchart editing unit 3 extracts the data of the functional part from the functional part library 6 and inserts the part data into a corresponding part of the flowchart data 7. The flowchart editing unit 3 inserts a newly required empty part into the flowchart data 7 when a new functional part is inserted. When detecting that the flowchart data 7 has been updated, the flowchart display unit 4 outputs the result to the display device 5 and updates and displays the flowchart.

【0053】従来、例えばドロー系のツールを用いてフ
ローチャートを作成した場合には、図形パーツを自由に
配置することができ、それらのパーツに正しい前後関係
を与えるのはユーザの責任に任されていた。従って、ユ
ーザのレベルによって不適切なパーツ配置を行うことも
少なくなかった。
Conventionally, for example, when a flowchart is created using a drawing-based tool, graphic parts can be freely arranged, and it is up to the user to give the correct context to those parts. Was. Therefore, there are many cases where inappropriate parts are placed depending on the level of the user.

【0054】この具体例では、常に適切な位置にのみパ
ーツが挿入されるように挿入可能な箇所を指定し、これ
を挿入判定部31において判定する。従って、例えば挿
入した機能パーツがどこにもつながらずに浮いてしまう
といった誤りが防止でき、常にプログラム的に正しいフ
ローチャートの入力ができる。更に、機能パーツを挿入
したポイントにより、挿入された機能パーツがプログラ
ム上のどの部分に挿入されたかをも認識することが可能
になる。この動作を具体的に説明する。
In this specific example, an insertable portion is designated so that a part is always inserted only at an appropriate position, and this is determined by the insertion determination section 31. Therefore, it is possible to prevent an error, for example, that the inserted functional part floats without being attached to any part, and to always input a correct flowchart programmatically. Further, it is possible to recognize at which point in the program the inserted functional part was inserted, based on the point where the functional part was inserted. This operation will be specifically described.

【0055】図8には、挿入判定用表示例説明図(その
2)を示す。図の(a)に示すように、このフローチャ
ートがステップ1という機能パーツとステップ2という
機能パーツとを接続して構成されているものとする。こ
のとき、一般には、図中の(1)という部分に挿入した
処理は、ステップ1のイベント処理なのか、ステップ2
を実行する前の初期処理なのかを判別することができな
い。
FIG. 8 is a diagram (part 2) for explaining an example of display for insertion determination. As shown in FIG. 3A, this flowchart is configured by connecting a functional part of step 1 and a functional part of step 2. At this time, in general, the processing inserted in the part (1) in the figure is the event processing of Step 1 or Step 2
It is not possible to determine whether the process is the initial process before the execution of.

【0056】ところが、既に説明したように、例えば各
機能パーツの入口と出口に◎の空パーツを配置してお
く。そして、(b)に示すように、ステップ1とステッ
プ2の2組の機能パーツを接続した場合、その接続点に
新たな○印の空パーツを加える。(2)の部分にある◎
印の空パーツはステップ1に属する処理である。(3)
の部分にある◎印の空パーツはステップ2に属する処理
である。そして、○印の空パーツは新たな機能パーツを
挿入することができる部分である。これを利用すること
によって、この部分に新たに挿入された機能パーツがス
テップ1あるいはステップ2に属する処理なのか、独立
した処理なのかを区別することができる。
However, as already described, empty parts indicated by ◎ are arranged at the entrance and exit of each functional part, for example. Then, as shown in (b), when two sets of functional parts of Step 1 and Step 2 are connected, a new empty part marked with a circle is added to the connection point. ◎ in (2)
The blank part of the mark is a process belonging to Step 1. (3)
The blank part marked with ◎ in the part is a process belonging to step 2. The blank part marked with a circle is a part into which a new functional part can be inserted. By utilizing this, it is possible to distinguish whether the functional part newly inserted in this portion is a process belonging to Step 1 or Step 2 or an independent process.

【0057】従って、各機能パーツを、既に説明した要
領でソースコードに置き換え、ソースプログラムを生成
する場合に、新たに挿入された機能パーツのソースコー
ドをどの機能パーツのソースコードに含めるかを判断す
ることが可能になる。もちろん、周辺の空パーツを表示
装置5に表示し続ければ、フローチャート作成者にも、
その区別ができる。
Therefore, when each function part is replaced with the source code in the manner already described, when generating a source program, it is determined which function part source code includes the source code of the newly inserted function part. It becomes possible to do. Of course, if the surrounding empty parts are continuously displayed on the display device 5, the flow chart creator can
The distinction can be made.

【0058】〈具体例2の効果〉以上のように、フロー
チャート中に機能パーツを挿入することができる場所を
限定し、挿入判定部31によってこれを判定するように
制御すれば、誤った場所に機能パーツを挿入するといっ
たミスを防止できる。また、プログラムの流れを明確に
し、機能パーツ単位のソースプログラムへの自動変換が
容易になる。
<Effect of Specific Example 2> As described above, the place where the functional part can be inserted in the flowchart is limited, and the insertion determination unit 31 controls to determine this. Mistakes such as insertion of functional parts can be prevented. Also, the flow of the program is clarified, and automatic conversion to a source program in units of functional parts becomes easy.

【0059】〈具体例3〉具体例2を用いて説明したよ
うに、各機能パーツに予め他の機能パーツを挿入できる
位置を空パーツとして設定しておけば、フローチャート
の作成が容易になるが、挿入可能な機能パーツを制限す
れば、より誤りの無いフローチャートの入力が可能にな
る。そこで、挿入可能な機能パーツを判定するためのデ
ータを設定する。
<Example 3> As described with reference to Example 2, if a position where another functional part can be inserted into each functional part is set in advance as an empty part, the flow chart can be easily created. By limiting the functional parts that can be inserted, it is possible to input a flowchart without errors. Therefore, data for determining a functional part that can be inserted is set.

【0060】図9には、具体例3の装置ブロック図を示
す。この装置は、具体例2の装置に対し、挿入判定マト
リクスを新たに追加したものである。その他の部分は具
体例2の装置と同一の構成であり、同一の符号を用いて
表現した。
FIG. 9 shows a device block diagram of the third embodiment. This device is obtained by adding an insertion determination matrix to the device of the second embodiment. Other parts have the same configuration as that of the device of the second embodiment, and are represented by the same reference numerals.

【0061】図10(a)には、挿入判定マトリクスの
内容説明図を示す。また、(b)には、挿入判定マトリ
クスを参照して動作する挿入判定部の動作説明図を示
す。図10の(a)に示すように、左側に示した空パー
ツは、それぞれ○、◎、破線の○及び太線の○というよ
うに区別されている。これらの空パーツがフローチャー
ト中に存在する場合には、それぞれ図の最上段に示した
様々な機能パーツ例えばステップ、分岐、イベント処
理、端子、前判定、後判定、ケース、結合子等の機能パ
ーツのうち、○が付いたものだけをそこに挿入すること
ができる。
FIG. 10A is a diagram for explaining the contents of the insertion judgment matrix. (B) shows an operation explanatory diagram of the insertion determination unit that operates with reference to the insertion determination matrix. As shown in FIG. 10A, the empty parts shown on the left side are distinguished from each other as ○, ◎, broken line 及 び, and thick line ○. If these empty parts are present in the flowchart, the various functional parts shown at the top of the figure, such as step, branch, event processing, terminal, pre-judgment, post-judgment, case, connector, etc. Of those, only those with a circle can be inserted there.

【0062】図の(a)に示す例では、例えば破線の○
印はイベント以外の挿入を禁止している。この破線の○
印は、図7(b)に示すようなステップの機能パーツ中
に表示されていた。ステップは、イベント待ちの状態を
示すもので、一般的なループ処理とは異なる。従って、
ステップ中にはイベント以外を挿入することができな
い。ユーザは、このような空パーツの形状や種類によっ
て、ドラッグしている機能パーツの挿入可能な位置を見
分けることができる。具体的には次のようにして装置が
動作する。
In the example shown in (a) of FIG.
The mark prohibits insertion other than the event. ○ of this broken line
The mark was displayed in the functional part of the step as shown in FIG. The step indicates a state of waiting for an event, and is different from general loop processing. Therefore,
No other events can be inserted during the step. The user can identify the position where the functional part being dragged can be inserted, based on the shape and type of the empty part. Specifically, the device operates as follows.

【0063】まず、機能パーツがドロップされた場合、
図9に示す入力部2はそれを検知し、ドロップされたパ
ーツの種類とドロップされた位置情報を挿入判定部31
に通知する。挿入判定部31は、ドロップされたパーツ
と空パーツを示す○印の種類が挿入可能な組み合わせか
どうかを判定する。これは、図10(a)に示したよう
な挿入判定マトリクス32を参照して行う。
First, when a functional part is dropped,
The input unit 2 shown in FIG. 9 detects this, and inserts the type of the dropped part and the dropped position information into the insertion determination unit 31.
Notify. The insertion determination unit 31 determines whether the type of the mark indicating the dropped part and the empty part is a combination that can be inserted. This is performed with reference to the insertion determination matrix 32 as shown in FIG.

【0064】挿入判定マトリクス32で、妥当な組み合
わせであるという表示がされていない場合には、ドロッ
プ操作を無視する。挿入判定部31が判定した結果、妥
当な組み合わせであれば、フローチャート上の該当位置
に機能パーツが挿入されたことをフローチャート編集部
3に通知する。フローチャート編集部3は、機能パーツ
ライブラリ6から該当する機能パーツのデータを取り出
し、フローチャートデータ7の該当位置に挿入する。そ
して、フローチャート編集部3は、パーツが挿入された
ことによって新たに必要になる空パーツをフローチャー
トデータ7に挿入する。フローチャート表示部4は、そ
の後フローチャートデータ7の更新を検出し、表示装置
5に新たなフローチャートを表示する。
If the insertion determination matrix 32 does not indicate that the combination is valid, the drop operation is ignored. If the insertion determination unit 31 determines that the combination is a valid combination, the insertion determination unit 31 notifies the flowchart editing unit 3 that the functional part has been inserted at the corresponding position on the flowchart. The flowchart editing unit 3 extracts the data of the corresponding functional part from the functional part library 6 and inserts the data into the corresponding position of the flowchart data 7. Then, the flowchart editing unit 3 inserts, into the flowchart data 7, an empty part that is newly required due to the insertion of the part. Thereafter, the flowchart display unit 4 detects the update of the flowchart data 7 and displays a new flowchart on the display device 5.

【0065】例えば、図10(b)において、破線で囲
まれたステップの機能パーツが既に描かれており、イベ
ント1とイベント2のパーツが挿入されていたとする。
これに新たに処理のパーツを挿入すると、これはイベン
ト待ちのステップとして意味をなさなくなる。ループの
中に処理が挿入されることによって、タスクのウエイト
状態への移行は不可能になってしまい、通常の繰り返し
処理と同じになるからである。
For example, in FIG. 10B, it is assumed that the functional parts of the steps enclosed by the broken line have already been drawn, and that the parts of event 1 and event 2 have been inserted.
If a new processing part is inserted into this, it becomes useless as an event waiting step. This is because the insertion of the processing in the loop makes it impossible to shift the task to the wait state, which is the same as ordinary repetition processing.

【0066】更に、本来、ステップがあるべき場所にそ
のようなパーツが存在することによって、状態遷移図へ
の変換も不可能になる。また、そのような不適切なパー
ツの挿入は、イベントドリブン指向としての正当性を損
なうことになる。従って、図10(b)に示すようなフ
ローチャートが作成できないようにすることによって、
この発明の目的は達成される。
Furthermore, since such a part exists at a place where a step should be, conversion into a state transition diagram becomes impossible. In addition, such improper insertion of parts degrades the validity of event-driven orientation. Therefore, by making it impossible to create a flowchart as shown in FIG.
The object of the present invention is achieved.

【0067】〈具体例3の効果〉以上に示すように、挿
入判定マトリクスを設けることによって、空パーツの部
分に挿入可能な機能パーツの種類を限定することができ
る。こうして不適切なパーツの挿入によって誤ったフロ
ーチャートの作成を防止できる。
<Effect of Specific Example 3> As described above, by providing the insertion determination matrix, it is possible to limit the types of functional parts that can be inserted into empty parts. In this manner, the creation of an erroneous flowchart due to the insertion of an inappropriate part can be prevented.

【0068】〈具体例4〉具体例3では、機能パーツを
挿入するべき位置を判断した。プログラムのフローチャ
ート入力作業では、機能パーツを挿入することの他に、
イベント処理をした後の状態遷移先を矢印の接続があ
る。この矢印の接続に誤りがあれば論理的な矛盾が生
じ、更にイベントドリブン指向としてのプログラムの正
当性を損なう。
<Example 4> In Example 3, the position where the functional part should be inserted was determined. In the program flowchart input work, in addition to inserting functional parts,
There is an arrow connection to the state transition destination after event processing. If there is an error in the connection of the arrows, a logical contradiction occurs, and the validity of the program as event-driven is impaired.

【0069】図11には、具体例4の装置のブロック図
を示した。この装置には、矢印接続の正当性を判断する
接続判定部33を設けた。この他の機能ブロックは、具
体例3を用いて説明したものと同様であり、それぞれ同
一の記号を付している。
FIG. 11 is a block diagram of the apparatus of the fourth embodiment. This device is provided with a connection determination unit 33 for determining the validity of the arrow connection. Other functional blocks are the same as those described with reference to the third embodiment, and are denoted by the same reference numerals.

【0070】図12は、本発明によって描かれたフロー
チャートの一例である。この図を用いて、接続判定動作
の説明を行う。この図の右側に示したThen処理と、
Else処理に続く部分には、(4)あるいは(5)に
示すような矢印が設けられている。矢印の首部にある黒
塗りの四角形をカーソルでクリックしこれをドラッグす
ることによって、矢印を任意の場所に移動できる。そし
て、指定した場所にドロップすると、その矢印の先端が
フローチャート中に接続される。ここで、矢印の先端が
接続可能な場所に×印の接続点マークを示した。
FIG. 12 is an example of a flowchart drawn according to the present invention. The connection determination operation will be described with reference to FIG. Then processing shown on the right side of this figure;
The arrow following (4) or (5) is provided in a portion following the Else processing. You can move the arrow to any location by clicking and dragging the black square at the neck of the arrow with your cursor. Then, when the drop is made at the designated place, the tip of the arrow is connected in the flowchart. Here, a connection point mark of X is shown at a place where the tip of the arrow can be connected.

【0071】即ち、図の(1)、(2)、(3)以外の
場所にはこれらの矢印の先端を接続することができな
い。即ち、プログラムのイベントドリブン的な性格を保
持するために、矢印は、状態遷移先として適切な場所に
のみ接続することができる。なお、図の(6)に示した
矢印はステップの機能パーツに含まれる。この矢印の先
を移動させると機能パーツ自身の正当な動作を妨げる。
従って黒塗りの四角形が用意されておらず、その移動は
認められない。図3(e)や(f)に示した前判定ルー
プ、(f)に示した後判定ループの矢印も同様に接続変
更ができない。
That is, the tips of these arrows cannot be connected to places other than (1), (2) and (3) in the figure. That is, in order to maintain the event-driven character of the program, the arrow can be connected only to an appropriate place as a state transition destination. The arrow shown in (6) of the figure is included in the functional parts of the steps. Moving the tip of this arrow prevents the functional part itself from operating properly.
Therefore, a black square is not prepared and its movement is not recognized. Similarly, the connection cannot be changed in the arrows of the pre-judgment loop shown in FIGS. 3E and 3F and the post-judgment loop shown in FIG.

【0072】例えば、状態遷移以外の目的で矢印の先端
を接続すると、イベントドリブン的な処理が不可能にな
る。このために以上のような制限が加えられる。そし
て、フローチャート入力中に許可されない接続を行おう
とした場合には、矢印の移動は認められず元の場所に戻
る。
For example, if the ends of the arrows are connected for purposes other than state transition, event-driven processing becomes impossible. For this reason, the above-mentioned restrictions are imposed. If an attempt is made to make a connection that is not permitted during the input of the flowchart, the movement of the arrow is not recognized and the original position is returned.

【0073】図12に示す例では、(1)を起点とする
ステップの機能パーツは、2種のイベントに従って状態
遷移する。上側に配置されたイベント1により状態遷移
をする場合、図の右側に示す条件分岐の機能パーツによ
る処理に進む。条件を満たせばThen処理、条件を満
たさない場合にはElse処理が実行される。
In the example shown in FIG. 12, the functional parts of the steps starting from (1) undergo state transition according to two types of events. When the state transition is performed by the event 1 arranged on the upper side, the process proceeds to the processing by the functional part of the conditional branch shown on the right side of the drawing. If the condition is satisfied, a Then process is performed, and if the condition is not satisfied, an Else process is performed.

【0074】一方、(1)で始まるステップの下側のイ
ベント2で状態遷移する場合、(2)の直上にあるイベ
ント処理が実行されて、(2)の部分から始まるステッ
プに進む。こうして、次のイベント3を待つ状態に遷移
する。このため、(4)や(5)で示す矢印は、状態遷
移の境界である(1)、(2)あるいは(3)以外の場
所には移動できない。こうした基準によって、上記接続
判定部33は動作する。
On the other hand, when a state transition is made in the event 2 below the step starting with (1), the event processing immediately above (2) is executed, and the process proceeds to the step starting from (2). Thus, the state transits to a state of waiting for the next event 3. For this reason, the arrows shown in (4) and (5) cannot move to places other than (1), (2) or (3), which are boundaries of state transition. The connection determination unit 33 operates according to such criteria.

【0075】図13には、図12の(5)に示した矢印
を(3)の位置まで移動した後の接続判定動作の説明図
(その2)を示す。この図を用いて、図11に示した装
置の動作を説明する。まず、ユーザは入力装置1を使っ
て、フローチャート表示エリア13上に表示された
(5)の矢印先端をクリックする。そして、そのままド
ラッグする。入力部2は、入力装置1で矢印のドラッグ
が開始されたことを検知すると、接続判定部33にその
旨を接続する。接続判定部33は、ドラッグされた矢印
がドラッグ可能かどうかを判定し、(6)のようにドラ
ッグが禁止された矢印であればその操作を無視する。
FIG. 13 is an explanatory diagram (part 2) of the connection judging operation after the arrow shown in (5) of FIG. 12 is moved to the position of (3). The operation of the device shown in FIG. 11 will be described with reference to FIG. First, the user clicks the tip of the arrow (5) displayed on the flowchart display area 13 using the input device 1. Then, drag as it is. When the input unit 2 detects that the dragging of the arrow has been started on the input device 1, the input unit 2 connects the fact to the connection determination unit 33. The connection determination unit 33 determines whether the dragged arrow is draggable, and ignores the operation if the dragged arrow is prohibited as in (6).

【0076】また、入力部2は、入力装置1からドラッ
グ中の矢印先端位置を順次検出し、その位置情報を接続
判定部33に通知する。接続判定部33は、受け取った
矢印の位置情報が接続可能な×印上にあるかどうかを判
定する。そして、その結果をフローチャート表示部4に
通知する。フローチャート表示部4は、入力部2の指示
に従ってドラッグ中のマウスカーソルの形状を変更し、
ユーザに対しその位置への接続可否を通知する。
The input unit 2 sequentially detects the position of the tip of the arrow being dragged from the input device 1 and notifies the connection determination unit 33 of the position information. The connection determination unit 33 determines whether or not the position information of the received arrow is on a connectable X mark. Then, the result is notified to the flowchart display unit 4. The flowchart display unit 4 changes the shape of the mouse cursor being dragged according to the instruction of the input unit 2,
The user is notified of whether or not connection to the location is possible.

【0077】矢印先端がドロップされた場合、入力部2
はそれを検出し、ドロップされた位置を接続判定部33
に通知する。接続判定部33は、ドロップされた位置が
適切な×印上かどうかを判断し、不適切であればその矢
印をデフォルトの位置即ちドラッグ開始前の位置に再接
続するよう、フローチャート編集部3に通知する。接続
判定部33は、ドロップされた位置が適切な×印上であ
ると判断したとき、その矢印を指定された位置に接続す
るようにフローチャート編集部3に指示する。
When the tip of the arrow is dropped, the input unit 2
Detects this, and determines the dropped position in the connection determination unit 33.
Notify. The connection determination unit 33 determines whether the dropped position is on the appropriate X mark, and if inappropriate, instructs the flowchart editing unit 3 to reconnect the arrow to the default position, that is, the position before the start of dragging. Notice. When determining that the dropped position is on the appropriate X mark, the connection determination unit 33 instructs the flowchart editing unit 3 to connect the arrow to the designated position.

【0078】フローチャート編集部3は、フローチャー
トデータ7の矢印接続先を指示された位置になるように
変更する。その後、フローチャート表示部4はフローチ
ャートデータ7が更新されたことを検出して、表示装置
5にフローチャートの再表示を指示する。
The flowchart editing section 3 changes the connection destination of the arrow in the flowchart data 7 so as to be the designated position. Thereafter, the flowchart display unit 4 detects that the flowchart data 7 has been updated, and instructs the display device 5 to redisplay the flowchart.

【0079】図14には、誤ったフローチャートの例を
示す。この図に示すフローチャートは、条件分岐を行っ
た結果の分岐先を示す矢印が前判定ループの中に飛び込
んでいる。こうしたフローチャートは、goto文を使
わざるを得ない。goto文の使用は、プログラムの可
読性、保守性を損ねるとして、一般的にその使用を避け
ることが望ましいといわれている。
FIG. 14 shows an example of an incorrect flowchart. In the flowchart shown in this figure, the arrow indicating the branch destination as a result of the conditional branch jumps into the pre-determination loop. In such a flowchart, a goto statement must be used. It is generally said that it is desirable to avoid using a goto statement because it impairs the readability and maintainability of the program.

【0080】即ち、こうした流れは、状態遷移を中心と
したイベントドリブン式構造化プログラミングの思想に
反するため不適切である。従来のツールを用いた場合に
は、こうしたフローチャートを描くことは自由であり、
これを禁止するのはユーザの意志に任されていた。この
発明では、予め矢印を接続する場所が制限されて、接続
判定部33がそれを判断するから、こうした不適切な矢
印の接続を禁止できる。
That is, such a flow is inappropriate because it contradicts the idea of event-driven structured programming centering on state transition. With traditional tools, you are free to draw such flowcharts,
It was up to the user to prohibit this. According to the present invention, the connection location of the arrow is limited in advance, and the connection determination unit 33 determines the location. Therefore, such inappropriate connection of the arrow can be prohibited.

【0081】〈具体例4の効果〉以上のように、この発
明では、フローチャート中への不適切な矢印の接続を禁
止でき、例えばユーザのプログラミング能力のレベルに
よらず、常に構造化されたgotoレスのフローチャー
トを作成するようにユーザ支援ができる。また、論理的
に誤りのある接続を防止することもでき、その後のバグ
のないプログラムの自動生成を可能にする。
<Effect of Specific Example 4> As described above, in the present invention, connection of an inappropriate arrow in a flowchart can be prohibited. For example, regardless of the level of the user's programming ability, a structured goto is always available. The user can be assisted to create a flow chart of the reply. In addition, logically erroneous connections can be prevented, and a bug-free program can be automatically generated thereafter.

【0082】従って、たとえ上記のような構造化プログ
ラミングによる制限に反しなくても、その矢印の接続を
行った場合に、不適切な動作が発生するような全ての場
合に、矢印の接続を禁止する処理に広く利用できる。
Therefore, even if it does not contradict the restriction by the structured programming as described above, the connection of the arrow is prohibited in all cases where an inappropriate operation occurs when the connection of the arrow is performed. Can be widely used for processing.

【0083】〈具体例5〉上記のような本発明の装置に
おいて、フローチャートデータは、機能パーツの組み合
わせにより表現できる。従って、例えば機能パーツの名
称と相互の接続関係を明らかにすれば、フローチャート
データを生成することができる。また、こうしたフロー
チャートがあれば、各機能パーツを対応するソースコー
ドに置き換え、機能パーツと状態遷移をする先を示す矢
印をソースコード化することによって、自動的なソース
プログラム生成が可能となる。
<Embodiment 5> In the apparatus of the present invention as described above, the flowchart data can be expressed by a combination of functional parts. Therefore, for example, if the names of the functional parts and the mutual connection relationship are clarified, the flowchart data can be generated. In addition, if there is such a flowchart, it is possible to automatically generate a source program by replacing each functional part with the corresponding source code and converting the functional part into an arrow indicating the destination of state transition.

【0084】しかしながら、表示装置に機能パーツを表
示する場合には、機能パーツを構成する各図形部品のイ
メージを適切にリンクさせ、変形に対応する必要があ
る。こうした場合に、各図形パーツの効率的な的確な管
理が必要となる。そこで、この具体例では、以下に説明
するような階層構造のフローチャートデータを用いる。
However, when displaying the functional parts on the display device, it is necessary to appropriately link the images of the graphic parts constituting the functional parts to cope with the deformation. In such a case, efficient and accurate management of each graphic part is required. Therefore, in this specific example, flowchart data having a hierarchical structure as described below is used.

【0085】図15に、具体例5の装置ブロック図を示
す。ここに示すブロック図は、具体例4の装置に対し、
階層構造フローチャートデータ34を採用した点が異な
る。その他の部分は具体例4と同一符号を付した。
FIG. 15 shows a device block diagram of the embodiment 5. The block diagram shown here corresponds to the device of the fourth embodiment.
The difference is that the hierarchical structure flowchart data 34 is adopted. Other parts are denoted by the same reference numerals as in Example 4.

【0086】次の図16、図17、図18を用いて、階
層構造フローチャートデータの構成を説明する。図16
は、ステップ1とステップ2とステップS3の状態を持
つプログラムのフローチャートを示す。このフローチャ
ートには、ステップ1から直接ステップ3へ状態遷移す
る動作とステップ1からステップ2を経てステップ3へ
状態遷移をするプログラムが示されている。ここで、ス
テップ1からステップ2へ状態遷移する過程で実行され
るイベント処理の直前の(1)の部分に、新たな機能パ
ーツを挿入することを考える。
The structure of the hierarchical structure flowchart data will be described with reference to FIG. 16, FIG. 17, and FIG. FIG.
Shows a flowchart of a program having the states of step 1, step 2, and step S3. This flowchart shows an operation for directly performing a state transition from step 1 to step 3 and a program for performing a state transition from step 1 to step 3 via step 2. Here, it is assumed that a new functional part is inserted into the part (1) immediately before the event processing executed in the process of transitioning from step 1 to step 2.

【0087】図17には、図16中の(1)の部分に分
岐条件処理を行う機能パーツを追加したところを示す。
図16に示すフローチャートでは、ステップ1の状態か
らイベント1−1が発生した場合に、対応するイベント
処理を行ってステップ2に進む。また、イベント1−2
が発生した場合には、対応するイベント処理を実行し
て、ステップ3に進む。ステップ2の状態では、イベン
ト2−1が発生した場合に対応するイベント処理を実行
し、ステップ3に進む。ステップ3は、イベント3−1
が発生した場合に、このプログラムを終了する処理を行
う。図17では、イベント1−1が発生した場合に、対
応するイベント処理を実行する前に、新たな機能パーツ
により分岐条件判断を行う。フローチャート入力作業中
に、こうした機能パーツの追加やその後の削除を行うと
き、その表示制御に適する構造のフローチャートデータ
が存在することが望ましい。
FIG. 17 shows that a functional part for performing branch condition processing is added to the part (1) in FIG.
In the flowchart shown in FIG. 16, when the event 1-1 occurs from the state of step 1, the corresponding event processing is performed, and the process proceeds to step 2. Event 1-2
Occurs, the corresponding event processing is executed, and the routine proceeds to step 3. In the state of step 2, event processing corresponding to the case where the event 2-1 has occurred is executed, and the process proceeds to step 3. Step 3 is event 3-1
When this occurs, a process for ending this program is performed. In FIG. 17, when the event 1-1 occurs, the branch condition is determined by a new functional part before executing the corresponding event processing. When such a functional part is added or subsequently deleted during a flowchart input operation, it is desirable that flowchart data having a structure suitable for display control exist.

【0088】図18には、図16のフローチャートを階
層構造のフローチャートデータで示した例を図示した。
まず、このフローチャートは、スタートの端子とストッ
プの端子との間に子パーツが挟まれた基本構造をしてい
る。これがNo.1のデータ階層に表示されている。N
o.1のデータ階層に示した子パーツは、図16に示す
ように、ステップ1に示した機能ステップと、ステップ
2に示した機能ステップと、ステップ3に示した機能ス
テップにより構成される。これらのステップを破線の枠
内に図示した。
FIG. 18 shows an example in which the flowchart of FIG. 16 is represented by flowchart data having a hierarchical structure.
First, this flowchart has a basic structure in which a child part is sandwiched between a start terminal and a stop terminal. This is No. 1 is displayed in the data hierarchy. N
o. As shown in FIG. 16, the child part shown in the first data hierarchy is composed of the function steps shown in step 1, the function steps shown in step 2, and the function steps shown in step 3. These steps are illustrated in dashed boxes.

【0089】そして、それぞれのステップ毎に、状態遷
移先を矢印で示している。図中、赤丸と表示したのは、
各ステップの入口や出口に配置した空パーツである。イ
ベントドリブン形式のプログラムでは、基本的にこれだ
けで全ての処理が表現できる。上の階層と下の階層との
関係は、後者が前者の属性データを示すという関係であ
る。矢印は、ポインタデータである。例えば、スタート
の端子とストップの端子の属性データは、No.2の階
層部分に表示される。即ち、いずれも楕円とフローチャ
ートの一部となる線とによって構成されるという内容に
なる。
An arrow indicates a state transition destination for each step. In the figure, what is displayed as a red circle is
Empty parts placed at the entrance and exit of each step. In an event-driven program, basically all processes can be represented by this alone. The relationship between the upper hierarchy and the lower hierarchy is that the latter indicates the former attribute data. Arrows indicate pointer data. For example, the attribute data of the start terminal and the stop terminal is “No. It is displayed in the second layer. In other words, each of them has a content that is constituted by an ellipse and a line that is a part of the flowchart.

【0090】次に、No.3の階層について説明を行
う。ここでは、ステップ1の属性データについてのみそ
の例を示し、その他については同様であるから図示を省
略した。ステップ1の機能ステップには、図16に示す
ように、スタートの端子に接続される直線と、先頭の破
線の円で示した空パーツと、イベント1−1、空パー
ツ、イベント1−2、空パーツといった図形パーツが存
在する。さらに、イベント待ち状態を表現するループ線
が存在する。
Next, No. The third layer will be described. Here, only an example of the attribute data in step 1 is shown, and the other components are the same, so that illustration is omitted. As shown in FIG. 16, the functional steps of Step 1 include a straight line connected to the start terminal, an empty part indicated by a dashed circle at the beginning, an event 1-1, an empty part, an event 1-2, There are graphic parts such as sky parts. Further, there is a loop line expressing the event waiting state.

【0091】そこで、図18に示すNo.3の階層に
は、先頭の線と、入口にある◎の空パーツに対応する子
パーツと、イベント1−1へ進む線と、イベント1やイ
ベント2を含めた子パーツと、ループ線という属性デー
タが表示されている。◎の空パーツを示す子パーツは、
No.4の階層において、緑の丸印というようにその属
性が表示されている。また、No.4の階層に3つの青
の○印と、これらに挟まれたイベント1−1やイベント
1−2が、No.3の子パーツを示す属性データとなっ
ている。
Therefore, No. 1 shown in FIG. In the layer 3, there are attributes such as a head line, child parts corresponding to empty parts at the entrance, a line going to event 1-1, child parts including event 1 and event 2, and a loop line. Data is displayed. ◎ Child parts showing empty parts are
No. At the fourth level, the attribute is displayed as a green circle. In addition, No. The three blue circles in the hierarchy of No. 4 and the event 1-1 and the event 1-2 sandwiched therebetween are No. 4. The attribute data indicates the child part of No.3.

【0092】また、イベント1−1やイベント1−2
は、それぞれ菱形の図形と、分岐線と、更にその分岐線
の先に連なる子パーツとから構成されている。これをN
o.5の階層に示した。そして、図16に示す(1)の
イベント処理は、緑の○印で示される空パーツの間に処
理の機能パーツが挟まれた構成となっている。これをN
o.6の階層に示した。また、処理の機能パーツは四角
の図形から構成されるから、これをNo.7の階層に示
した。
Further, the event 1-1 and the event 1-2
Are composed of diamond-shaped figures, branch lines, and child parts connected to the ends of the branch lines. This is N
o. 5 is shown. The event processing of (1) shown in FIG. 16 has a configuration in which functional parts for processing are sandwiched between empty parts indicated by green circles. This is N
o. 6 are shown. Also, since the functional part of the processing is composed of a square figure, this is designated as No. 7 is shown.

【0093】以上のように、このフローチャートデータ
は、状態を示すステップの情報と、これらのステップ間
の状態遷移を示す矢印の情報を基本となるデータ階層に
表現し、各状態を示すステップ毎に、そのステップの属
性データを順次階層構造で表現している。このような構
成にした場合に、図16に示す(1)の部分に図17に
示すような(2)の機能パーツを挿入したとき、図19
に示すように、フローチャートデータが書き換えられ
る。
As described above, this flowchart data expresses information of steps indicating states and information of arrows indicating state transitions between these steps in a basic data hierarchy, and for each step indicating each state. , And the attribute data of the step are sequentially expressed in a hierarchical structure. In such a configuration, when the functional part of (2) as shown in FIG. 17 is inserted into the portion of (1) shown in FIG.
As shown in (2), the flowchart data is rewritten.

【0094】即ち、図19には、図18に示したNo.
6の階層中に、新たにNo.5の階層で示した子パーツ
に属する「分岐」と「緑の○で表す空パーツ」を追加し
ている。そして、「分岐」の属性を表すために、No.
7の階層には、その形状が菱形であって、線と2つの子
パーツと分岐線とにより構成されることが示されてい
る。また、2つの子パーツは、別の新たな機能パーツを
挿入できる緑の○印で示した空パーツであると表現して
いる。
That is, in FIG. 19, the No. shown in FIG.
No. 6 is newly added to the hierarchy of No. 6. "Branches" and "empty parts represented by green circles" belonging to the child parts shown in the fifth layer are added. Then, in order to represent the attribute of “branch”, No.
The seventh layer indicates that the shape is a rhombus and is composed of a line, two child parts, and a branch line. The two child parts are expressed as empty parts indicated by green circles in which another new functional part can be inserted.

【0095】このように、新たな機能パーツを追加する
場合には、階層構造になった機能パーツのデータを、階
層構造になったフローチャートの該当箇所へ一括して挿
入すればよい。逆に、こうした機能パーツを外す場合に
は、図19中の破線で示した階層構造の機能パーツ要素
を一括して削除すればよい。即ち、「分岐」という機能
パーツに必要な全ての部品が階層構造となり、フローチ
ャートも階層構造になっているので、機能パーツを追加
したり削除をしたりする場合に、一部の図形パーツが取
り残されてしまったりする矛盾が発生しない。
As described above, when a new functional part is added, the data of the functional part having the hierarchical structure may be inserted at a time into a corresponding part of the flowchart having the hierarchical structure. Conversely, when removing such a functional part, the functional part elements having a hierarchical structure indicated by the broken line in FIG. 19 may be collectively deleted. In other words, all the parts required for the functional part "branch" have a hierarchical structure, and the flowchart also has a hierarchical structure, so when adding or deleting functional parts, some graphic parts are left behind. No inconsistency occurs.

【0096】〈具体例5の効果〉以上説明したように、
フローチャートデータを階層構造で表現すれば、機能パ
ーツ単位でフローチャートを作成処理する作業の際に、
機能パーツを追加したり削除したりして試行錯誤する作
業の際、フローチャートデータの取り扱いを容易にし、
誤りの発生を防止できる。従って、フローチャートに矛
盾を発生させたり、意味のないパーツを残したりすると
いう問題がない。しかも、パーツを削除した際、自動的
にフローチャート中の該当部分の前後を接続することが
容易になる。
<Effect of Specific Example 5> As described above,
If flowchart data is expressed in a hierarchical structure, when creating and processing flowcharts in units of functional parts,
When performing trial and error by adding or deleting functional parts, it is easy to handle flowchart data,
The occurrence of errors can be prevented. Therefore, there is no problem of causing contradiction in the flowchart or leaving meaningless parts. Moreover, when a part is deleted, it is easy to automatically connect the front and rear of the corresponding part in the flowchart.

【0097】〈具体例6〉図18に示したフローチャー
トデータのNo.2の階層に着目する。この階層には、
図に示したように、状態を示すステップの情報とこれら
のステップ間の状態遷移を表す矢印の情報のみが現れて
いる。こうしたデータを利用すれば、プログラムの基本
的な構造解析を行うことができる。
<Embodiment 6> No. of the flowchart data shown in FIG. Focus on the second layer. In this hierarchy,
As shown in the figure, only information of steps indicating states and information of arrows indicating state transitions between these steps appear. Using such data, a basic structural analysis of a program can be performed.

【0098】図20は、この構造解析のための機能ブロ
ックを図示した。図1に示した装置にこうした機能ブロ
ックを追加することによって、フローチャートデータか
ら、例えば図21に示すような状態遷移図を生成し表示
することができる。即ち、図20に示す装置は、階層構
造フローチャートデータ34と、変換部36と、状態遷
移図データ37、データ表示部38及び表示装置5から
構成される。さらに、この図には、階層構造フローチャ
ートデータ34や機能パーツライブラリ6を参照して、
フローチャートに対応するソースプログラムを生成する
プログラム生成部を図示した。
FIG. 20 shows functional blocks for this structural analysis. By adding such a functional block to the apparatus shown in FIG. 1, for example, a state transition diagram as shown in FIG. 21 can be generated and displayed from the flowchart data. That is, the apparatus shown in FIG. 20 includes the hierarchical structure flowchart data 34, the conversion unit 36, the state transition diagram data 37, the data display unit 38, and the display device 5. Further, in this figure, referring to the hierarchical structure flowchart data 34 and the functional parts library 6,
A program generator for generating a source program corresponding to the flowchart is illustrated.

【0099】プログラム生成部40は、まず、上記階層
構造フローチャートデータあるいはその他の構造のフロ
ーチャートデータを参照して、各状態毎に、イベントの
内容とその属性データを生成する。次に、機能パーツラ
イブラリ6を参照して、フローチャート中に使用されて
いる機能パーツの既に説明したようなソースコードを取
得する。そして、上記イベントや状態の属性データに付
随したプログラムコード記述部分にそのソースコードを
コピーする。これで、プログラムの自動生成ができる。
これ以外の具体的なプログラム生成手順は、従来のCA
SEツールで実行されている処理と同様である。
The program generation unit 40 first generates the contents of the event and the attribute data for each state with reference to the flowchart data of the hierarchical structure or the flowchart data of another structure. Next, referring to the functional part library 6, the source code as described above of the functional parts used in the flowchart is acquired. Then, the source code is copied to a program code description portion attached to the event or state attribute data. Thus, the program can be automatically generated.
Other specific program generation procedures are the conventional CA
This is the same as the processing executed by the SE tool.

【0100】階層構造フローチャートデータ34は、図
18に示すような内容のデータである。変換部36は、
例えばそのNo.2のデータ階層を参照して、そのデー
タを変換処理し、状態遷移図データ37を生成する部分
である。データ表示部38は、この状態遷移図データ3
7を表示装置5に表示する部分である。ソフト技術者が
プログラム全体の動作を解析する場合、一般にその状態
遷移図を作成する。これを自動的に作成し、表示装置に
表示することができれば、フローチャート作成後の結果
をユーザが点検し、あるいは他のソフトウェア技術者が
内容を理解するのに役立つ。
The hierarchical structure flowchart data 34 is data having contents as shown in FIG. The conversion unit 36
For example, the No. Referring to the second data hierarchy, this data is converted and the state transition diagram data 37 is generated. The data display unit 38 displays the state transition diagram data 3
7 is a portion for displaying 7 on the display device 5. When a software engineer analyzes the operation of the entire program, a state transition diagram is generally created. If this can be automatically created and displayed on the display device, it is helpful for the user to check the result after creating the flowchart or for other software engineers to understand the contents.

【0101】図21は、状態遷移図の例説明図である。
この図を参照しながら、図20に示した装置の動作を説
明する。まず、始めに変換部36は、フローチャートデ
ータ34を解析し、図18に示したNo.2のデータ階
層から状態を示すステップを抽出する。また、変換部3
6は、図18に示すフローチャートデータを解析し、各
ステップの状態を表示装置に表示する際の位置やシンボ
ル図形等を決定する。図21中の円内に「ステップ
1」、「ステップ2」、「ステップ3」と書いたものが
そのシンボル図形である。
FIG. 21 is an explanatory diagram of an example of a state transition diagram.
The operation of the device shown in FIG. 20 will be described with reference to FIG. First, the conversion unit 36 analyzes the flowchart data 34, and converts the No. shown in FIG. A step indicating a state is extracted from the second data hierarchy. The conversion unit 3
6 analyzes the flowchart data shown in FIG. 18 and determines the position, symbol figure, and the like when displaying the state of each step on the display device. 21. The circles in FIG. 21 in which "step 1", "step 2", and "step 3" are written are the symbol figures.

【0102】次に、変換部36は、図18に示すNo.
2のデータ階層から矢印に相当するデータを抽出し、各
状態を表示する、これには、例えば図21に示す円の間
を矢印のイメージでつなぐ。更に、図18に示すNo.
3以下のデータ階層のイベントを抽出し、状態遷移を表
す矢印にそれぞれその意味を示す情報を付加する。同時
に、図18に示したNo.1の階層を参照し、スタート
やストップの端子に相当する情報を付け加える。このよ
うにして、図21に示すようなイメージを生成し、デー
タ表示部38の制御によって表示装置5にその図形イメ
ージを表示する。
Next, the converter 36 converts the No. shown in FIG.
Data corresponding to an arrow is extracted from the second data hierarchy, and each state is displayed. For example, circles shown in FIG. 21 are connected by an image of an arrow. Further, in the case of No.
Events of three or less data hierarchies are extracted, and information indicating their meaning is added to arrows indicating state transitions. At the same time, No. 1 shown in FIG. With reference to the first layer, information corresponding to the start and stop terminals is added. In this way, an image as shown in FIG. 21 is generated, and the graphic image is displayed on the display device 5 under the control of the data display unit 38.

【0103】〈具体例6の効果〉以上説明したように、
フローチャートデータを上記のような構成にすることに
よって、状態遷移を表すデータ階層から必要な状態を抽
出し、該当するイベントから状態遷移の内容を抽出し
て、自動的に状態遷移図を生成することができる。これ
によって、フローチャートがメカトロニクス製品に実装
されているプログラムに属したイベントドリブン型のプ
ログラムであるかどうかの検証を即座に行うことがで
き、フローチャートの作成やその解析処理に有効に活用
される。
<Effect of Specific Example 6> As described above,
Automatically generate a state transition diagram by extracting the necessary state from the data hierarchy representing the state transition, extracting the contents of the state transition from the corresponding event, by configuring the flowchart data as described above. Can be. This makes it possible to immediately verify whether the flowchart is an event-driven program belonging to a program implemented in the mechatronics product, and is effectively used for creating a flowchart and analyzing the flowchart.

【0104】なお、上記の具体例1から具体例6に示し
た各発明は、初めに説明したように、それぞれパーソナ
ルコンピュータやワークステーション等にインストール
したプログラムによって実行することができる。そし
て、これらのプログラムは、フロッピーディスクやCD
−ROM、あるいはその他のプログラム記録媒体に格納
することができる。更に、通信回線等を利用してコンピ
ュータに直接インストールして実施することが可能であ
る。
Each of the inventions shown in the specific examples 1 to 6 can be executed by a program installed in a personal computer, a workstation, or the like, as described above. These programs are stored on floppy disks and CDs.
-It can be stored in a ROM or other program recording medium. Further, it is possible to directly install and execute the program on a computer using a communication line or the like.

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

【図1】本発明のフローチャート入力装置を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a flowchart input device of the present invention.

【図2】表示装置に表示されたウインドウの概略図であ
る。
FIG. 2 is a schematic diagram of a window displayed on a display device.

【図3】機能パーツの具体例説明図である。FIG. 3 is a diagram illustrating a specific example of a functional part.

【図4】ソフトウェア設計例説明図である。FIG. 4 is an explanatory diagram of a software design example.

【図5】フローチャート作成とプログラムへの変換例説
明図である。
FIG. 5 is an explanatory diagram of an example of flow chart creation and conversion to a program.

【図6】具体例2の装置ブロック図である。FIG. 6 is a device block diagram of a specific example 2.

【図7】挿入判定用表示例説明図(その1)である。FIG. 7 is an explanatory diagram (part 1) of a display example for insertion determination.

【図8】挿入判定用表示例説明図(その2)である。FIG. 8 is an explanatory diagram (part 2) of a display example for insertion determination.

【図9】具体例3の装置ブロック図である。FIG. 9 is a device block diagram of a specific example 3.

【図10】挿入判定マトリクスの説明図である。FIG. 10 is an explanatory diagram of an insertion determination matrix.

【図11】具体例4の装置ブロック図である。FIG. 11 is a device block diagram of a specific example 4.

【図12】接続判定動作の説明図(その1)である。FIG. 12 is an explanatory diagram (part 1) of a connection determination operation.

【図13】接続判定動作の説明図(その2)である。FIG. 13 is an explanatory diagram (part 2) of the connection determination operation.

【図14】誤ったフローチャート例の説明図である。FIG. 14 is an explanatory diagram of an example of an incorrect flowchart.

【図15】具体例5の装置ブロック図である。FIG. 15 is a device block diagram of a specific example 5.

【図16】変更前のフローチャート例説明図である。FIG. 16 is an explanatory diagram of a flowchart example before a change.

【図17】変更後のフローチャート例説明図である。FIG. 17 is an explanatory diagram of a flowchart example after a change.

【図18】フローチャートデータ例(変更前)の説明図
である。
FIG. 18 is an explanatory diagram of a flowchart data example (before change).

【図19】フローチャートデータ例(変更後)の説明図
である。
FIG. 19 is an explanatory diagram of a flowchart data example (after change).

【図20】具体例6の装置のブロック図である。FIG. 20 is a block diagram of an apparatus of a specific example 6.

【図21】状態遷移図の例説明図である。FIG. 21 is an explanatory diagram of an example of a state transition diagram.

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

1 入力装置 2 入力部 3 フローチャート編集部 4 フローチャート表示部 5 表示装置 6 機能パーツライブラリ 6A 機能パーツ 7 フローチャートデータ Reference Signs List 1 input device 2 input unit 3 flowchart editing unit 4 flowchart display unit 5 display device 6 functional parts library 6A functional parts 7 flowchart data

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 フローチャート中に使用されて、一定の
処理を完結する手順を表現するための図形パーツ群を機
能パーツと呼ぶとき、機能パーツのイメージを複数格納
した機能パーツライブラリと、 前記機能パーツライブラリに格納された任意の機能パー
ツを選択して、表示装置上の所定の位置に表示するよう
に指定する入力装置と、 入力装置により選択された前記機能パーツを、指定され
た位置に配置するようにして、フローチャートの構造を
示すフローチャートデータを編集するフローチャート編
集部とを備えたことを特徴とするフローチャート入力装
置。
When a group of graphic parts used in a flowchart to represent a procedure for completing a certain process is called a functional part, a functional part library storing a plurality of images of the functional part; An input device for selecting an arbitrary functional part stored in the library and displaying it at a predetermined position on the display device, and arranging the functional part selected by the input device at the specified position A flowchart input device comprising: a flowchart editing unit configured to edit flowchart data indicating a structure of a flowchart.
【請求項2】 請求項1に記載のフローチャート入力装
置において、 各機能パーツには、予め他の機能パーツを挿入して配置
することができる位置を表示する空パーツが含められる
ことを特徴とするフローチャート入力装置。
2. The flowchart input device according to claim 1, wherein each functional part includes an empty part indicating a position where another functional part can be inserted and arranged in advance. Flow chart input device.
【請求項3】 請求項2に記載のフローチャート入力装
置において、 入力装置により指定された機能パーツの挿入位置が、既
に表示装置に表示された機能パーツの空パーツ上でない
ときは、挿入を拒絶する挿入判定部を備えたことを特徴
とするフローチャート入力装置。
3. The flowchart input device according to claim 2, wherein the insertion of the functional part specified by the input device is not on an empty part of the functional part already displayed on the display device, and the insertion is rejected. A flowchart input device comprising an insertion determining unit.
【請求項4】 請求項3に記載のフローチャート入力装
置において、 各機能パーツの空パーツ部分に挿入することができる機
能パーツを予め限定する挿入判定マトリクスを備え、 挿入判定部は、前記挿入判定マトリクスを参照して、入
力装置により選択された機能パーツの挿入を拒絶するか
どうか判定することを特徴とするフローチャート入力装
置。
4. The flowchart input device according to claim 3, further comprising an insertion determination matrix for preliminarily defining a functional part that can be inserted into a vacant part of each functional part, wherein the insertion determining unit includes the insertion determination matrix. A flowchart input device for determining whether to reject insertion of a functional part selected by the input device with reference to FIG.
【請求項5】 請求項1に記載のフローチャート入力装
置において、 フローチャート編集部は、 既に表示装置に表示されたフローチャート中に、新たな
機能パーツが挿入されたときは、次に他の機能パーツを
挿入して配置することができる位置を表示する空パーツ
を、前記フローチャート中の機能パーツ間に配置するこ
とを特徴とするフローチャート入力装置。
5. The flowchart input device according to claim 1, wherein the flowchart editing unit, when a new functional part is inserted into the flowchart already displayed on the display device, next executes another functional part. A flowchart input device, wherein empty parts for displaying positions where insertion and placement are possible are arranged between functional parts in the flowchart.
【請求項6】 請求項1に記載のフローチャート入力装
置において、 各機能パーツには、予め、プログラムの流れを示す矢印
を接続することができる位置を表示する接続点マークが
含められることを特徴とするフローチャート入力装置。
6. The flowchart input device according to claim 1, wherein each functional part includes a connection point mark indicating a position to which an arrow indicating a program flow can be connected in advance. Flow chart input device.
【請求項7】 請求項6に記載のフローチャート入力装
置において、 表示装置上に表示された任意の機能パーツに含まれる矢
印の接続位置が、入力装置により指定されたとき、既に
表示装置に表示された機能パーツの接続点マーク上でな
い場合にその接続を拒絶する接続判定部を備えたことを
特徴とするフローチャート入力装置。
7. The flowchart input device according to claim 6, wherein a connection position of an arrow included in an arbitrary functional part displayed on the display device is already displayed on the display device when specified by the input device. A flow chart input device, comprising: a connection judging unit for rejecting the connection when the connection is not on the connection point mark of the functional part.
【請求項8】 請求項7に記載のフローチャート入力装
置において、 接続判定部は、指定された矢印の接続位置が既に表示装
置に表示されている機能パーツとの関係から所定の基準
を満たさないときは、入力装置により指定された矢印の
接続を拒絶することを特徴とするフローチャート入力装
置。
8. The flowchart input device according to claim 7, wherein the connection determination unit determines that the connection position of the designated arrow does not satisfy a predetermined criterion based on a relationship with the functional part already displayed on the display device. Is a flowchart for rejecting the connection of the arrow specified by the input device.
【請求項9】 請求項1に記載のフローチャート入力装
置において、 フローチャート編集部は、 フローチャートデータを階層構造により表現し、状態を
示すステップに関する情報と、状態遷移を示す矢印に関
する情報とを含むデータ階層の下に、前記状態を示すス
テップの属性情報を含むデータ階層を設けるようにした
ことを特徴とするフローチャート入力装置。
9. The flowchart input device according to claim 1, wherein the flowchart editing unit expresses the flowchart data in a hierarchical structure, and includes data relating to a step indicating a state and information relating to an arrow indicating a state transition. A data hierarchy including attribute information of the step indicating the state is provided below the flowchart.
【請求項10】 請求項9に記載のフローチャート入力
装置において、 フローチャートデータ中の、状態を示すステップに関す
る情報と、状態遷移を示す矢印に関する情報とを含むデ
ータ階層を選択するとともに、前記状態遷移の原因とな
るイベントをさらに下層のデータ階層から抽出して状態
遷移図を生成する状態遷移図生成部を備えたことを特徴
とするフローチャート入力装置。
10. The flowchart input device according to claim 9, wherein a data hierarchy including information on a step indicating a state and information on an arrow indicating a state transition in the flowchart data is selected, and the state of the state transition is selected. A flow chart input device, comprising: a state transition diagram generation unit that generates a state transition diagram by extracting a causal event from a lower data hierarchy.
【請求項11】 請求項1に記載のフローチャート入力
装置において、 各機能パーツに対応させて用意されたプログラムソース
コードと、フローチャートデータとを編集して、フロー
チャートを実行するためのソースプログラムを自動生成
するプログラム生成部を備えたことを特徴とするフロー
チャート入力装置。
11. The flowchart input device according to claim 1, wherein the program source code prepared for each functional part and the flowchart data are edited to automatically generate a source program for executing the flowchart. A flowchart input device, comprising:
【請求項12】 フローチャート中に使用されて、一定
の処理を完結する手順を表現するための図形パーツ群を
機能パーツと呼ぶとき、 予め、機能パーツのイメージを複数格納した機能パーツ
ライブラリを用意して、 入力装置により、前記機能パーツライブラリに格納され
た任意の機能パーツを選択して、表示装置上の所定の位
置に表示するように指定したとき、 選択された前記機能パーツを、指定された位置に配置す
るようにして、フローチャートの構造を示すフローチャ
ートデータを編集するように動作する、フローチャート
入力用のコンピュータプログラムを記録した記録媒体。
12. When a group of graphic parts used in a flowchart to represent a procedure for completing a certain process is called a functional part, a functional part library storing a plurality of images of the functional part is prepared in advance. When the input device selects an arbitrary functional part stored in the functional part library and designates it to be displayed at a predetermined position on the display device, the selected functional part is designated. A recording medium storing a computer program for inputting a flowchart, which operates so as to be arranged at a position and edits flowchart data indicating the structure of the flowchart.
【請求項13】 フローチャート中に使用されて、一定
の処理を完結する手順を表現するための図形パーツ群を
機能パーツと呼ぶとき、 予め、機能パーツのイメージを複数格納した機能パーツ
ライブラリを用意して、 入力装置により、前記機能パーツライブラリに格納され
た任意の機能パーツを選択して、表示装置上の所定の位
置に表示するように指定したとき、 選択された前記機能パーツを、指定された位置に配置す
るようにして、フローチャートの構造を示すフローチャ
ートデータを編集するとともに、 各機能パーツに対応させて用意されたプログラムソース
コードと、フローチャートデータとを編集して、フロー
チャートを実行するためのソースプログラムを自動生成
するように動作する、フローチャート入力用のコンピュ
ータプログラムを記録した記録媒体。
13. When a group of graphic parts used in a flowchart to represent a procedure for completing a certain process is called a functional part, a functional part library storing a plurality of images of the functional part is prepared in advance. When the input device selects an arbitrary functional part stored in the functional part library and designates it to be displayed at a predetermined position on the display device, the selected functional part is designated. The source for executing the flowchart by editing the flowchart data showing the structure of the flowchart and arranging the program source code prepared corresponding to each functional part and the flowchart data so as to be arranged at the position. A computer program for inputting flowcharts that operates to automatically generate programs Recording medium recording the ram.
JP10112756A 1998-04-08 1998-04-08 Flow chart input device Pending JPH11296357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10112756A JPH11296357A (en) 1998-04-08 1998-04-08 Flow chart input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10112756A JPH11296357A (en) 1998-04-08 1998-04-08 Flow chart input device

Publications (1)

Publication Number Publication Date
JPH11296357A true JPH11296357A (en) 1999-10-29

Family

ID=14594768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10112756A Pending JPH11296357A (en) 1998-04-08 1998-04-08 Flow chart input device

Country Status (1)

Country Link
JP (1) JPH11296357A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006025472A1 (en) * 2004-08-31 2006-03-09 Catena Corporation Processing path creating method on the basis of lyee methodology, creating device, software creating method, creating device, software, and development assisting software
US7046246B2 (en) 1999-03-29 2006-05-16 Fujitsu Limited Graphic editing apparatus graphic editing method and storage medium on which is recorded a program for graphic editing
WO2006114899A1 (en) * 2005-04-19 2006-11-02 Assist Computer System Co, Ltd Source program creation support system
WO2007102232A1 (en) * 2006-03-09 2007-09-13 Assist Computer System Co., Ltd. Source program creation support system
WO2010007647A1 (en) * 2008-07-16 2010-01-21 富士通株式会社 Modeling editor, modeling device, and modeling method
JP2011022682A (en) * 2009-07-14 2011-02-03 Fuji Electric Holdings Co Ltd Automatic program generation device and automatic program generation method
JP2011507057A (en) * 2007-11-26 2011-03-03 マイクロソフト コーポレーション Logical structure design surface
WO2012096001A1 (en) * 2011-01-14 2012-07-19 株式会社日立製作所 Flowchart rendering device, flowchart rendering method, and program
TWI475343B (en) * 2011-09-16 2015-03-01 Mitsubishi Electric Corp Sequential programming device
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
JP2019075077A (en) * 2017-10-18 2019-05-16 韓國電子通信研究院Electronics and Telecommunications Research Institute Workflow engine framework
WO2021131531A1 (en) * 2019-12-27 2021-07-01 オムロン株式会社 Program executing device, program executing method, and program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7046246B2 (en) 1999-03-29 2006-05-16 Fujitsu Limited Graphic editing apparatus graphic editing method and storage medium on which is recorded a program for graphic editing
WO2006025472A1 (en) * 2004-08-31 2006-03-09 Catena Corporation Processing path creating method on the basis of lyee methodology, creating device, software creating method, creating device, software, and development assisting software
WO2006114899A1 (en) * 2005-04-19 2006-11-02 Assist Computer System Co, Ltd Source program creation support system
WO2007102232A1 (en) * 2006-03-09 2007-09-13 Assist Computer System Co., Ltd. Source program creation support system
JP2011507057A (en) * 2007-11-26 2011-03-03 マイクロソフト コーポレーション Logical structure design surface
WO2010007647A1 (en) * 2008-07-16 2010-01-21 富士通株式会社 Modeling editor, modeling device, and modeling method
JP2011022682A (en) * 2009-07-14 2011-02-03 Fuji Electric Holdings Co Ltd Automatic program generation device and automatic program generation method
WO2012096001A1 (en) * 2011-01-14 2012-07-19 株式会社日立製作所 Flowchart rendering device, flowchart rendering method, and program
JP5564579B2 (en) * 2011-01-14 2014-07-30 株式会社日立製作所 Flowchart drawing apparatus, flowchart drawing method and program
TWI475343B (en) * 2011-09-16 2015-03-01 Mitsubishi Electric Corp Sequential programming device
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
JP2019075077A (en) * 2017-10-18 2019-05-16 韓國電子通信研究院Electronics and Telecommunications Research Institute Workflow engine framework
WO2021131531A1 (en) * 2019-12-27 2021-07-01 オムロン株式会社 Program executing device, program executing method, and program
JP2021105952A (en) * 2019-12-27 2021-07-26 オムロン株式会社 Program execution device, program execution method, and program
US12333279B2 (en) 2019-12-27 2025-06-17 Omron Corporation Program executing device, program executing method, and non-transitory computer-readable storage medium

Similar Documents

Publication Publication Date Title
JP2660163B2 (en) Algorithm education support system
USRE42105E1 (en) Object-oriented programming apparatus, object-oriented programming supporting apparatus, component builder apparatus, object-oriented program storage medium, program storage medium for use in object-oriented programming, component storage medium, and object-between-network display method
US20090319948A1 (en) Automated editing of graphics charts
US20070214173A1 (en) Program, method, and apparatus for supporting creation of business process model diagram
JPH11296357A (en) Flow chart input device
CN115495069B (en) Coal industry software process implementation method, device and equipment based on model drive
US20080222576A1 (en) Design support apparatus, method for supporting design, and medium recording design support program
JP2008203912A (en) Screen creation apparatus and method, and program
JPH1139145A (en) Program construction support device and storage medium
JPH06203024A (en) Document processor
JPH06187396A (en) Network constitution design aid system
JPH1097415A (en) Gui screen layout design system
JP7380376B2 (en) Program for displaying information processing equipment and ladder programs
US6157388A (en) System and method for automatically inserting and deleting an object in a graphics chart
JP2713147B2 (en) How to edit multimedia presentations
JP3850867B1 (en) Source program creation support system
US20010002834A1 (en) Method for inputting and acquiring requirement
JP2000132295A (en) GUI operation specification description device, GUI control device, and GUI system
CN101379466B (en) Source program creation support system
JP4559955B2 (en) Electronic form part development device, electronic form part development method, electronic form part development program, and recording medium storing electronic form part development program
JPH10222356A (en) Application creation device and application creation method
JP2000347840A (en) Automatic source program generation device, automatic source program generation method, and recording medium recording the method
JP2004126723A (en) Power distribution cable routing apparatus and method
JPH11328161A (en) Document editing apparatus and method
JP2004013683A (en) Method of developing semiconductor integrated circuit, layout editor, and recording medium