JPS63128431A - Producing device for process language string collation type flow chart - Google Patents

Producing device for process language string collation type flow chart

Info

Publication number
JPS63128431A
JPS63128431A JP61274961A JP27496186A JPS63128431A JP S63128431 A JPS63128431 A JP S63128431A JP 61274961 A JP61274961 A JP 61274961A JP 27496186 A JP27496186 A JP 27496186A JP S63128431 A JPS63128431 A JP S63128431A
Authority
JP
Japan
Prior art keywords
flowchart
flow chart
information
symbol
language string
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.)
Granted
Application number
JP61274961A
Other languages
Japanese (ja)
Other versions
JP2754533B2 (en
Inventor
Tadashi Inoue
忠 井上
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP61274961A priority Critical patent/JP2754533B2/en
Publication of JPS63128431A publication Critical patent/JPS63128431A/en
Application granted granted Critical
Publication of JP2754533B2 publication Critical patent/JP2754533B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable even a worker working at a job site to easily carry out a debugging job, etc., based on a flow chart by adding the collating information on the corresponding relation with a process language train to the position of each flow chart symbol contained in a produced flow chart. CONSTITUTION:An absolute address AD (with a jumping destination label L if needed) of the corresponding mnemonic code is added to the position of each flow chart symbol K of the flow chart information in the form of the collating information. Thus a flow chart is compiled. Then the absolute address of the mnemonic code concerning each symbol K can be immediately grasped since the address AD and the label L corresponding to each other on a program list are added to each symbol K in the form of the collating information. Thus it is possible to directly understand a flow of control actions by the flow chart.

Description

【発明の詳細な説明】 (発明の分野) この発明は、デバッグ作業などに好適な処理言語列対照
式流れ図の作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of the Invention) The present invention relates to an apparatus for creating a processing language column-contrastive flowchart suitable for debugging work and the like.

(発明の概要) この発明では、例えば流れ図方式のプログラマブル・コ
ントローラ等のように、流れ図を用いてプログラミング
を行なうデータ処理装置において、入力された流れ図と
データ処理装置の処理古語列との対応関係を容易に確認
できる流れ図を作成するものである。
(Summary of the Invention) In the present invention, in a data processing device that performs programming using a flowchart, such as a flowchart-based programmable controller, the correspondence relationship between an input flowchart and a processing old word string of the data processing device is established. It creates a flowchart that can be easily checked.

(従来技術とその問題点) 第7図に示されるように、流れ図(フローチャート)方
式のプログラマブル・コントローラにおけるプログラミ
ングは、一般に次のような手順で行なわれる。
(Prior Art and its Problems) As shown in FIG. 7, programming in a flowchart type programmable controller is generally performed in the following steps.

まず最初に、グラフィック・プログラミング・コンソー
ルユニット(以下、GPCという)、あるいは通常のパ
ーソナルコンピュータ等を用い、画面上のカーソル位置
に処理ステップ記号2分岐記号などの流れ図記号を順次
描きながら、エディタソフトを使用して流れ図情報を作
成する。この流れ図情報は、各流れ図記号とそのXY座
標とを対にして記述したものである。
First, use a graphic programming console unit (hereinafter referred to as GPC) or a normal personal computer to draw flowchart symbols such as processing step symbols and two-branch symbols at the cursor position on the screen while running the editor software. to create flowchart information. This flowchart information is written as a pair of each flowchart symbol and its XY coordinates.

次いで、この流れ図情報を、所定の変換ソフトを利用し
て、プログラマブル・コントローラの処理言語列に相当
する二−モニツク列に変換する。
Next, this flowchart information is converted into a binary sequence corresponding to the processing language sequence of the programmable controller using predetermined conversion software.

次いで、この二−モニツク列を、現場に設置されたプロ
グラマブル・コントローラのプログラムメモリへとダウ
ンロードして、プログラミングを完成する。
This binary sequence is then downloaded into the program memory of a field-located programmable controller to complete programming.

ところで、この種のプログラマブル・コントローラにお
いて例えばデバッグを行なう場合には、当初作成された
流れ図およびプログラムリスト(二−モニツク列表)の
ハードコピーを用意し、流れ図上で問題となる箇所が発
見されたならば、これに関する二一モニツクをプログラ
ムリスト中から捜しだし、その格納アドレスを現場のプ
ログラミングツールからキー人力することによって、該
当二一モニツクを当該ツールの表示器に読出し、これを
確認または修正するといった作業を繰り返す。
By the way, when debugging this type of programmable controller, for example, prepare a hard copy of the originally created flowchart and program list (mnemonics table), and if a problem is found on the flowchart, For example, by searching for the relevant 21 Monik in the program list, inputting its storage address from the on-site programming tool, the corresponding 21 Monik is read out on the display of the tool, and checked or corrected. Repeat the work.

しかし、流れ図中の問題箇所とプログラムリスト上の二
一モニツクとの対応関係を把握することは、現場の作業
員等にとっては必ずしも容易なことではない。なぜなら
、ラダー図方式のプログラマブル・コントローラであれ
ば、ラダー図上の各シンボル記号(リレー、接点等)の
記載順序は、プログラムリスト上の二−モニツクの記載
順序とほぼ対応しているため、両者の対応関係を把握す
ることは比較的容易であるのに対し、流れ図方式のプロ
グラマブル・コントローラにあっては、途中に分岐やリ
ターン等の流れ図記号が存在する結果、流れ図上の流れ
図記号記載順序とプログラムリスト上の二−モニツク記
載順序とは一義的に定まらないことが多く、またこの種
現場の作業員はラダー図には憤れていても流れ図には不
慣れなことが通例であるため、一層流れ図とプログラム
リストとの対応関係を把握しがたい訳である。
However, it is not always easy for on-site workers to understand the correspondence between problem locations in the flowchart and twenty-one monitors on the program list. This is because in the case of a ladder diagram programmable controller, the order in which each symbol (relay, contact, etc.) on the ladder diagram is written almost corresponds to the order in which the secondary symbols are written in the program list. While it is relatively easy to understand the correspondence relationship between flowcharts, programmable controllers that use flowcharts have flowchart symbols such as branches and returns in the middle, which makes it difficult to understand the order in which the flowchart symbols are written on the flowchart. The order in which the two-monics are listed on the program list is often not unambiguously determined, and even if workers at this type of site are angry at ladder diagrams, they are usually unfamiliar with flow diagrams. This makes it difficult to understand the correspondence between the flow chart and the program list.

(発明の目的) この発明の目的は、以上説明した流れ図方式のプログラ
マブル・コントローラのように、流れ図を用いてプログ
ラミングを行なうデータ処理装置において、流れ図と処
理言語列との対応関係を容易に把握できる処理言語列対
照式流れ図の作成装置を提供することにある。
(Objective of the Invention) The object of the present invention is to easily grasp the correspondence between flowcharts and processing language strings in a data processing device that performs programming using flowcharts, such as the flowchart-based programmable controller described above. An object of the present invention is to provide a processing language string-contrastive flowchart creation device.

(発明の構成と効果) この発明は上記の目的を達成するために、所望する仕事
内容に相当する流れ図情報を入力する流れ図入力手段と
、 入力された流れ図情報を解読して特定データ処理装置の
処理言語列に変換するとともに、得られた処理言語列と
入力された流れ図との対応関係を示す照合情報を入力さ
れた流れ図情報中の各流れ図記号位置に付加する流れ図
編集手段と、各流れ図記号位置に照合情報が付加された
流れ図情報に基づいて流れ図描画処理を行なう流れ図出
力手段と、 を具備することを特徴とするものである。
(Structure and Effects of the Invention) In order to achieve the above object, the present invention includes a flowchart input means for inputting flowchart information corresponding to desired job content, and a flowchart input means for inputting flowchart information corresponding to desired work content, and a flowchart input means for decoding the inputted flowchart information to input a specific data processing device. a flowchart editing means for converting into a processing language string and adding collation information indicating a correspondence between the obtained processing language string and the inputted flowchart to each flowchart symbol position in the inputted flowchart information; and each flowchart symbol. The present invention is characterized by comprising: flowchart output means for performing flowchart drawing processing based on flowchart information in which collation information is added to the position.

このような構成によれば、作成された流れ図中の各流れ
図記号位置には、処理言語列との対応関係を示す照合情
報が付される結果、両者の対応関係を明確に把握させる
ことができ、流れ図によるデバッグ等を現場の作業Qに
も容易に行なわせることができる。
According to such a configuration, collation information indicating the correspondence with the processing language string is attached to each flowchart symbol position in the created flowchart, so that the correspondence between the two can be clearly understood. The on-site work Q can also easily perform debugging using flowcharts.

(実施例の説明) 第1図は、本発明に係わる処理言語列対照式流れ図の作
成装置(以下、作成装置という)1の外観を示す斜視図
である。
(Description of Embodiments) FIG. 1 is a perspective view showing the appearance of a processing language string comparison flowchart creation device (hereinafter referred to as creation device) 1 according to the present invention.

同図に示す如く、作成装置1は、プリンタ11゜CRT
表示器12.キーボード13およびパーソナルコンピュ
ータ14等によって構成されている。
As shown in the figure, the creation device 1 includes a printer 11°CRT
Display 12. It is composed of a keyboard 13, a personal computer 14, and the like.

作成装置1を構成するパーソナルコンピュータ14には
、キーボード13の操作に基づいて流れ図情報を作成す
る従来公知のエディタンフトが備えられる他、特に本発
明に関連して第3図に示される制御プログラムが新たに
備えられている。
The personal computer 14 constituting the creation device 1 is equipped with a conventionally known editor for creating flowchart information based on operations on the keyboard 13, and is also equipped with a control program shown in FIG. 3, particularly in relation to the present invention. Newly prepared.

すなわち、キーボード13を用いてCRT表示器12の
画面上に第4図に示す如く流れ図を描くと、公知のエデ
ィタの作用によって、流れ図情報が作成記憶される(第
2図参照)。
That is, when a flowchart as shown in FIG. 4 is drawn on the screen of the CRT display 12 using the keyboard 13, flowchart information is created and stored by the action of a known editor (see FIG. 2).

良く知られているように、この流れ図情報は、各流れ図
記号にとそのXY座標とを対として、これを順次整列し
て記述したものである。
As is well known, this flowchart information is written by sequentially arranging each flowchart symbol and its XY coordinate as a pair.

次いで、作成された流れ図情報は、第3図のフローチャ
ートに従って処理され、最終的に本発明の二−モニツク
列対照式流れ図が作成される。
The created flowchart information is then processed according to the flowchart of FIG. 3, and finally the two-monic column contrast type flowchart of the present invention is created.

すなわち、第3図においてプログラムがスター1−する
と、まずイニシャル処理として、座標レジスタX、Y、
ラベルレジスタN、絶対アドレスレジスタADRのクリ
アが行なわれる(ステップ301)。
That is, when the program starts at 1 in FIG. 3, first, as an initial process, the coordinate registers
Label register N and absolute address register ADR are cleared (step 301).

次いで、流れ図情報中の各X、Y座標を順次検索しなが
ら(ステップ305) 、当該座標位置の流れ図記@K
を読出す(ステップ302)。
Next, while sequentially searching each X and Y coordinate in the flowchart information (step 305), the flowchart description @K of the coordinate position is
is read out (step 302).

そして、各流れ図記号Kが読出されたならば、当該流れ
図記号Kが飛び先ラベルを発生する記号か(ステップ3
03)あるいは二一モニツクコードを発生する記号か(
ステップ304)の判定をその都度行なう。
Then, when each flowchart symbol K is read out, whether the flowchart symbol K is a symbol that generates a jump destination label (step 3
03) Or a symbol that generates a 21 Monik code (
The determination in step 304) is performed each time.

ここで、二一モニツクコードを発生する記号と判定され
れば(ステップ304肯定)、公知のアルゴリズムに従
って当該流れ図記号Kを二一モニックに変換した後(ス
テップ307)、得られた二−モニツク、流れ図記@に
のX、Y座標および二一モニツクの格納される絶対アド
レスADHを1組として一時記憶させ(ステップ308
)、絶対アドレスADRを+1更新させては(ステップ
309) 、以上の動作を繰り返す。
Here, if it is determined that the symbol generates a 21-monic code (Yes in step 304), the flow chart symbol K is converted into a 21-monic code according to a known algorithm (step 307), and the obtained 2-monic code is converted into a 2-monic code. The X and Y coordinates of @ and the absolute address ADH where the 21 Monik is stored are temporarily stored as one set (step 308
), the absolute address ADR is updated by +1 (step 309), and the above operations are repeated.

これに対して、飛び先ラベルを発生する流れ図記号にと
判定されれば(ステップ303肯定)、飛び先ラベルr
LBL  NJを発生させた後(ステップ310)、そ
の都度ラベルレジスタNを+1歩進させ(ステップ31
1)、飛び先ラベルについても、前述と同様にして、該
当するX、Y座標および飛び先ラベルの格納絶対アドレ
スADRを一組とて一時記憶させ(ステップ308)、
絶対アドレスADRの+1更新を行なっては(ステップ
309)以上の動作を繰り返す。
On the other hand, if it is determined that the flowchart symbol generates a jump destination label (Yes at step 303), the jump destination label r
After generating LBL NJ (step 310), the label register N is incremented by +1 each time (step 31).
1) Regarding the jump destination label, in the same manner as described above, the corresponding X, Y coordinates and the storage absolute address ADR of the jump destination label are temporarily stored as a set (step 308);
The absolute address ADR is updated by +1 (step 309) and the above operations are repeated.

以上を繰り返す間に、X、Y座標の所定終端まで検索が
終了すると(ステップ306tl!定)、第5図に示さ
れるように、対象となる流れ図式プログラマブル・コン
トローラで処理可能な二−モニック列が完成する。
While repeating the above, when the search is completed to the predetermined end of the X, Y coordinates (step 306 tl!), as shown in FIG. is completed.

なお、第5図では、プログラムリストとして打出された
状態を示しており、このため本発明に関連する各二−モ
ニツク毎のX、Y座標の記憶については図示を省略した
Note that FIG. 5 shows a state in which the program list has been printed out, and therefore, the storage of the X and Y coordinates for each binary, which is related to the present invention, is not shown.

このようにして、流れ図情報から二−モニツク列への変
換が終了したならば、ステップ308で一時記憶されて
いるX、Y座標と先に作成された流れ図情報とに基づい
て、流れ図情報上の各流れ図記号にの位置に、該当する
二−モニツクの絶対アドレスADR(必要であれば飛び
先ラベルL)を照合情報として付加することによって流
れ図の編集を行なう (ステップ312.第2図参照)。
In this way, when the conversion from the flowchart information to the two-monitor sequence is completed, in step 308, based on the temporarily stored X, Y coordinates and the previously created flowchart information, The flowchart is edited by adding the absolute address ADR (if necessary, the jump destination label L) of the corresponding two-monitor as collation information to the position of each flowchart symbol (step 312, see FIG. 2).

次いで、この編集が終了した新たな流れ図情報に基づい
て、プリンタ11またはCR7表示器12を駆動して描
画処理を行なうことにより、第6図に示されるような二
−モニツタ列対照式流れ図を作成するのである(ステッ
プ313)。
Next, based on the new flowchart information that has been edited, the printer 11 or CR7 display 12 is driven to perform drawing processing, thereby creating a two-monitor row contrast type flowchart as shown in FIG. (Step 313).

第6図から明らかなように、この作成装置1から得られ
る流れ図の各流れ図記号Kには、プログラムリスト上に
おいて対応する絶対アドレスADおよび飛び先ラベルL
が照合情報として付加されているため、これらに基づい
て各流れ図記@Kに関する二−モニツクの絶対アドレス
を直ちに把握することができ、従って流れ図により制御
動作の流れを直観的に理解させることができると同時に
、この流れ図と二−モニツク列との対応関係をも明確に
把握させることができ、現場作業員等におけるデバッグ
操作などには極めて便利である。
As is clear from FIG. 6, each flowchart symbol K of the flowchart obtained from this creation device 1 has a corresponding absolute address AD and jump destination label L on the program list.
is added as verification information, so based on these, the absolute address of the binary associated with each flowchart @K can be immediately grasped, and therefore the flow of control operations can be intuitively understood by the flowchart. At the same time, the correspondence between this flowchart and the two-monitor sequence can be clearly understood, which is extremely convenient for debugging operations by field workers and the like.

また、この実施例の場合、飛び先ラベルLをも表示する
ようにしているため、単なる流れ図では見えない二一モ
ニツクとの関連を視覚的に理解させることもでき、二−
モニツク列との対応関係を一層容易に把握させることが
できる。
In addition, in the case of this embodiment, since the jump destination label L is also displayed, it is possible to visually understand the relationship with the 21 Monique, which cannot be seen in a mere flow chart, and the 2-
It is possible to more easily understand the correspondence with the monitor string.

なお、以上の実施例では流れ国力式のプログラマブル・
コントローラに適用した場合で説明したが、本発明の適
用はこれに限定されるものではなく、流れ図を用いてプ
ログラミングを行なう各種のデータ処理装置に広く応用
が可能である。
In addition, in the above embodiment, the programmable
Although the present invention has been described in the case where it is applied to a controller, the application of the present invention is not limited thereto, and can be widely applied to various data processing devices that perform programming using flowcharts.

また、以上ではキーボード13の操作で流れ図情報を入
力したが、直接にフロッピーディスク等から読込ませて
も良いことは勿論である。
Moreover, although the flowchart information is input by operating the keyboard 13 in the above example, it is of course possible to read the flowchart information directly from a floppy disk or the like.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明装置の外観を示す斜視図、第2図は本発
明装置の動作を概略説明するブロック図、第3図は本発
明の要部に相当する制御動作を示すフローチャート、第
4図は流れ図情報を作成する際の画面表示の一例を示す
図、第5図は流れ図情報に基づいて作成されたプログラ
ムリストの一例を示す図、第6図は本発明装置により作
成された二−モニツク列対照式流れ図を示す図、第7図
は従来技術を説明するためのブロック図である。 1・・・作成装置 11・・・プリンタ 12・・・CRT表示器 13・・・キーボード 14・・・パーソナルコンピュータ K・・・・・・流れ図記号 AD・・・絶対アドレス L・・・・・・飛び先ラベル 第2図 第4図 第5図 了Vレス(ADR)   4+ 0000     LBL      0000001
      AND     00000002   
  CJP  LBL  001ooos     o
ur /VOT oto。 0004     JMP  LBL  000000
5     LBL     001oooe    
  our     oto。 0007     JMP  LBL  000第6図
FIG. 1 is a perspective view showing the external appearance of the device of the present invention, FIG. 2 is a block diagram schematically explaining the operation of the device of the present invention, FIG. 3 is a flow chart showing control operations corresponding to the main part of the present invention, and FIG. The figure shows an example of a screen display when creating flowchart information, FIG. 5 shows an example of a program list created based on the flowchart information, and FIG. FIG. 7 is a block diagram for explaining the conventional technique. 1... Creation device 11... Printer 12... CRT display 13... Keyboard 14... Personal computer K... Flowchart symbol AD... Absolute address L...・Jump destination label Figure 2 Figure 4 Figure 5 Finished V-resistance (ADR) 4+ 0000 LBL 0000001
AND 00000002
CJP LBL 001oooos o
ur/VOT oto. 0004 JMP LBL 000000
5 LBL 001oooo
our oto. 0007 JMP LBL 000 Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)所望する仕事内容に相当する流れ図情報を入力す
る流れ図入力手段と、 入力された流れ図情報を解読して特定データ処理装置の
処理言語列に変換するとともに、得られた処理言語列と
入力された流れ図との対応関係を示す照合情報を入力さ
れた流れ図情報中の各流れ図記号位置に付加する流れ図
編集手段と、 各流れ図記号位置に照合情報が付加された流れ図情報に
基づいて流れ図描画処理を行なう流れ図出力手段と、 を具備することを特徴とする処理言語列対照式流れ図の
作成装置。
(1) A flowchart input means for inputting flowchart information corresponding to the desired work content; a flowchart input means for decoding the inputted flowchart information and converting it into a processing language string for a specific data processing device; and inputting the obtained processing language string. flowchart editing means that adds collation information indicating a correspondence with the flowchart symbol to each flowchart symbol position in the input flowchart information; and a flowchart drawing process based on the flowchart information with collation information added to each flowchart symbol position. What is claimed is: 1. A processing language string comparison type flowchart creation device, comprising: a flowchart output means for performing the following;
JP61274961A 1986-11-18 1986-11-18 Flow chart creation device Expired - Fee Related JP2754533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61274961A JP2754533B2 (en) 1986-11-18 1986-11-18 Flow chart creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61274961A JP2754533B2 (en) 1986-11-18 1986-11-18 Flow chart creation device

Publications (2)

Publication Number Publication Date
JPS63128431A true JPS63128431A (en) 1988-06-01
JP2754533B2 JP2754533B2 (en) 1998-05-20

Family

ID=17548981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61274961A Expired - Fee Related JP2754533B2 (en) 1986-11-18 1986-11-18 Flow chart creation device

Country Status (1)

Country Link
JP (1) JP2754533B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104324A (en) * 1990-08-24 1992-04-06 Fuji Xerox Co Ltd Program generating device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62177628A (en) * 1986-01-31 1987-08-04 Toshiba Corp Processing system for graphic language error

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62177628A (en) * 1986-01-31 1987-08-04 Toshiba Corp Processing system for graphic language error

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04104324A (en) * 1990-08-24 1992-04-06 Fuji Xerox Co Ltd Program generating device

Also Published As

Publication number Publication date
JP2754533B2 (en) 1998-05-20

Similar Documents

Publication Publication Date Title
EP1310844B1 (en) Simulation device
US6751523B2 (en) NC machining simulation apparatus
JPH03154105A (en) Nc program generating device
JPH01270164A (en) Simulation system
JP2005148789A (en) Robot teaching program editing device by voice input
JP2016059989A (en) Robot control device, robot device, robot control method, program, and recording medium
JPS63128431A (en) Producing device for process language string collation type flow chart
JPS61170807A (en) Numerical controller
JPH01316804A (en) Contour shape defining method
JPH10291183A (en) Robot language processing device
JP2009163524A (en) Arithmetic processing unit
JPH08137532A (en) Generating method for operation program of robot and teaching method for robot
JP6557036B2 (en) Simulation device
JPH0747209B2 (en) Welding condition automatic setting device
JPH08263130A (en) Simulation system
JP2875135B2 (en) Program device for programmable controller
JPS63159903A (en) Producing device for cross-reference list of flowchart collation system
JP2003140714A (en) Graphic language program preparing program and its device
JPS63127333A (en) Flowchart type programming device
JPH07253876A (en) Program generating device
JP2023003731A (en) Information processing device, information processing method, display device, display method, robot system, method for manufacturing article, program and recording medium
JP3283055B2 (en) Program editing device
JPH07302107A (en) Numerical controller
JPS63269206A (en) Robot plotting method
JPS61187011A (en) Graphic display system of numerical controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees