JPH02129703A - Programmable logic controller development tool - Google Patents

Programmable logic controller development tool

Info

Publication number
JPH02129703A
JPH02129703A JP28325188A JP28325188A JPH02129703A JP H02129703 A JPH02129703 A JP H02129703A JP 28325188 A JP28325188 A JP 28325188A JP 28325188 A JP28325188 A JP 28325188A JP H02129703 A JPH02129703 A JP H02129703A
Authority
JP
Japan
Prior art keywords
file
message
ladder
link
processing means
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
JP28325188A
Other languages
Japanese (ja)
Inventor
Yasuaki Sugiura
杉浦 康明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28325188A priority Critical patent/JPH02129703A/en
Publication of JPH02129703A publication Critical patent/JPH02129703A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily execute editing when it is desired again to edit a link file which is generated once by adding a division processing means. CONSTITUTION:The PLC development tool is provided with a link file input means 17 for reading a link file 11, and a division processing means 20 for dividing the link file 11 into a ladder file 2 and message files 3 - 10. In such a way, the link file 11 which is generated once is divided into the original ladder file 2 and the message files 3 - 10. Therefore, editing by the ladder file 2 and the message files 3 - 10 can be executed again, and that which is edited by the link file 11 is reflected in the original ladder file and the message files 3 - 10, as well.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、1度ラダーファイルとメツセージファイル
をリンクによって作成したファイル(以下リンクファイ
ル)を再び元のラダーファイルとメツセージファイルに
分割することのできるプログラマブル°ロジック・コン
トローラ(以下PLCという)開発ツールに関するもの
である。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to dividing a file created by linking a ladder file and a message file (hereinafter referred to as a link file) back into the original ladder file and message file. The present invention relates to a programmable logic controller (hereinafter referred to as PLC) development tool.

〔従来の技術〕[Conventional technology]

従来の方法は、PLO開発ツールの中でシーケンスプロ
グラムとメツセージデータを作成する。
The conventional method is to create a sequence program and message data in a PLO development tool.

シーケンスプログラムをファイルにしたものがラダーフ
ァイル、メツセージデータをファイルにしたものがメツ
セージファイルである。数値制御装置(以下No装置)
においては、この両者をリンクしたファイルを使用して
、シーケンスプログラムを動作させたシ、メツセージデ
ータをNO装置のCRTに表示させたシする。
A ladder file is a file containing a sequence program, and a message file is a file containing message data. Numerical control device (hereinafter referred to as No device)
In this case, a file linking the two is used to operate the sequence program and display the message data on the CRT of the NO device.

このラダーファイルとメツセージファイルをリンクする
機能を第5図を使用して説明する。(2)はシーケンス
プログラム゛の入ったラダーファイル。
The function of linking this ladder file and message file will be explained using FIG. (2) is a ladder file containing a sequence program.

(3)〜員はメツセージファイル、anhリンクファイ
ル、このファイルは第2図のように(21〜QGまでの
ファイルをリンクして更に1のヘッダを追加した構成と
なっている。動作としては、破線矢印の方向である。a
3はキー入力処理手段、a3は画面表示手段、 (14
)はラダー編集処理手段、αりはメッセージ編集処理手
段、顧はリンク処理手段、aηはリンクファイル入出力
手段、α膳ハラダーファイル入出力手段、a3はメツセ
ージ入出力手段である。
(3) Members are message files, anh link files, and this file has a configuration in which files 21 to QG are linked and a header 1 is added, as shown in Figure 2. This is the direction of the dashed arrow.a
3 is a key input processing means, a3 is a screen display means, (14
) is a ladder editing processing means, αri is a message editing processing means, ko is a link processing means, aη is a link file input/output means, an αzenhara ladder file input/output means, and a3 is a message input/output means.

次に動作について訝明する。第5図において。Next, I wonder about the operation. In FIG.

操作ボードからのキー入力はキー入力処理手段を経由し
てラダー編集処理手段QJへ送られる。このラダー編集
処理手段にてシーケンスプログラムが作成され1画面表
示処理手段0を経由してC1RTに表示される。最後に
、ラダー出力手段を経由してラダーファイルに格納され
る。メツセージファイルも同様にキー入力処理手段α2
を経由してメツセージ編集処理手段a!9でメツセージ
データが作成される。このデータは0表示処理手段を経
由してCRTにメツセージデータが表示される。作成さ
れたメツセージデータは、メツセージ出力手段0ヲ経由
してメツセージファイル(3)〜6mへ格納サレる。
Key inputs from the operation board are sent to the ladder editing processing means QJ via the key input processing means. A sequence program is created by this ladder editing processing means and displayed on the C1RT via the one-screen display processing means 0. Finally, it is stored in a ladder file via the ladder output means. The message file is also key input processing means α2
Message editing processing means a! Message data is created in step 9. This data is displayed as message data on the CRT via a 0 display processing means. The created message data is stored in message files (3) to 6m via message output means 0.

リンクファイルを作成するには、第6図において、ラダ
ーファイルをリードする(ステップ1)。
To create a link file, read the ladder file in FIG. 6 (step 1).

次に、ラダーファイルのサイズとラダーファイルの先頭
アドレスを管理テーブルへ書込む(ステップ2)。次に
、メツセージファイルの有無をチエツクする(ステップ
3)。
Next, the size of the ladder file and the start address of the ladder file are written into the management table (step 2). Next, the presence or absence of the message file is checked (step 3).

これは、第1図の画面でメツセージファイルを8個指定
でき、ファイルの有無をチエツクするためである。ファ
イルが有る場合はリードする(ステップ4)。メツセー
ジファイルのサイズと先頭アドレスを管理テーブルへ書
込む(ステップ5)。
This is because eight message files can be specified on the screen shown in FIG. 1, and the presence or absence of the files can be checked. If the file exists, read it (step 4). Write the size and start address of the message file to the management table (step 5).

ファイル名が指定されている分ステップ4とステップ5
を繰シ返す。管理テーブルが完了した段階で第2図の+
If)のように管理テーブルから順次データを書込む(
ステップ6)。最後に画面表示処理をする(ステップT
)。
Step 4 and step 5 as long as the file name is specified
Repeat. When the management table is completed, click + in Figure 2.
Write data sequentially from the management table as shown in If) (
Step 6). Finally, perform screen display processing (step T
).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のPLOリンク機能は、ラダーファイル。 The conventional PLO link function is a ladder file.

メツセージファイルをリンクして1つのリンクファイル
を作成していたため、1度作成したリンクファイルを編
集した時は、もとのラダーファイル又は、メツセージフ
ァイルを変更しなければなら々いという問題点があった
◎ この発明は上記のような問題点を解消するためになされ
念もので、リンクファイルで編集したもノかもとのラダ
ーファイル、メツセージファイルにも反映されることを
目的とする。
Because a single link file was created by linking message files, there was a problem in that when editing a link file that had been created, the original ladder file or message file had to be changed. ◎ This invention was made in order to solve the above-mentioned problems, and is intended to be reflected in the original ladder file and message file edited with the link file.

【a題を解決するための手段〕[Means to solve problem a]

この発明に係るPLO開発ツールは、リンクファイルを
リードするリンクファイル入力手段、リンクファイルを
ラダーファイルとメツセージファイルに分割する分割処
理手段をもうけたものである。第2図のIのリンクファ
イル名を実線の矢印方向に従って分割するようKしたも
のである。
The PLO development tool according to the present invention is provided with a link file input means for reading a link file, and a division processing means for dividing the link file into a ladder file and a message file. The link file name I in FIG. 2 is divided according to the direction of the solid arrow.

〔作用〕[Effect]

この発明における分割処理手段は、1度作成したリンク
ファイルを元のラダーファイルとメツセージファイルに
分割することによシ、再びラダーファイル、メツセージ
ファイルの編集ができるようにする。
The division processing means in this invention divides the once-created link file into the original ladder file and message file, thereby making it possible to edit the ladder file and message file again.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はリンクファイルを分割する画面の1例である。MI
eLDA8LNKは第2図のIのリンクファイル名、M
KLLADD兄Rは(2)のラダーファイル名、MKL
M88Giは(3)のメツセージファイル名である。以
下MILMEISG2〜MKLMSSG8は、(4)〜
Qlliでのメツセージファイル名に相当する。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is an example of a screen for dividing a link file. M.I.
eLDA8LNK is the link file name of I in Figure 2, M
KLLADD brother R is the ladder file name of (2), MKL
M88Gi is the message file name in (3). Below, MILMEISG2 to MKLMSSG8 are (4) to
Corresponds to the message file name in Qlli.

第3図は、リンクファイルを分割するための構成図であ
る。(2)〜αe、 all、α9#−i従来の構成図
と同様である。αnKリンクファイルIをリードするリ
ンクファイル入力手段、−はリンクファイルを分割する
分割処理手段である。
FIG. 3 is a block diagram for dividing link files. (2) to αe, all, α9#-i This is the same as the conventional configuration diagram. A link file input means reads the αnK link file I, and - is a division processing means that divides the link file.

次に動作について説明する。第3図と第4図においてキ
ー入力処理手段(13からの起動キーで分割処理手段(
至)に起動がかかる。分割処理手段@はリンクファイル
入力手段顛を経由してリンクファイルUのデータの1部
管理テーブルをリードfる(ステップ1)0次に、管理
テーブルのラダーのサイズを読んでリンクファイルから
このサイズ分だけリードする(ステップ2)。このデー
タをラダーファイル出力手段錦を経由してラダーファイ
ル2へ書込ム(ステップ3)。メッセージファイルに分
割するには、管理テーブルの中にメツセージのサイズと
アドレスが0か否かで判断する。メツセージサイズとア
ドレスが00場合は次のデータを見る(ステップ5)。
Next, the operation will be explained. In FIG. 3 and FIG. 4, the key input processing means (the division processing means (
). The division processing means @ reads a part of the management table of the data of the link file U via the link file input means (Step 1) Next, it reads the size of the ladder in the management table and extracts this size from the link file. Lead by that amount (Step 2). This data is written to the ladder file 2 via the ladder file output means Nishiki (step 3). To divide a message into message files, it is determined whether the message size and address in the management table are 0 or not. If the message size and address are 00, look at the next data (step 5).

サイズが0以外の時は。When the size is other than 0.

リンクファイルからメツセージサイズ分だけリードする
(ステップ6)。メツセージファイル出力手段0を経由
してメツセージファイル(3)へデータを書込む(ステ
ップ1)。ステップ(5)からステップ(7)までを8
回縁シ返す(ステップ4)。最後に表示データ処理によ
j)CRTへ完了したことを表示する(ステップ8)。
Read the message size from the link file (step 6). Data is written to the message file (3) via the message file output means 0 (step 1). 8 steps from step (5) to step (7)
The circuit is returned (step 4). Finally, by processing the display data, the completion is displayed on the CRT (step 8).

なお、第4図でメツセージファイルのデータ処理を8回
縁シ返すようにしたが、処理回数は特に限定されるもの
ではない。
Although the message file data processing is repeated eight times in FIG. 4, the number of processing times is not particularly limited.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば1分割処理手段を追加
したので、1度作成し九リンクファイルを再び編集した
い場合に容易に編集できる効果が得られる。
As described above, according to the present invention, since the 1-division processing means is added, it is possible to easily edit a 9-link file that has been created once when it is desired to edit it again.

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

第1図はとの発明のリンクファイルを分割するための設
定画面の1例を示す図、第2図はこの発明のリンクファ
イルのファイルの分割イメージの例を示す図、第3圀は
本発明の処理手段構成図。 第4図は本発明のフローチャート、第5図は従来の処理
手段構成図、第6図は従来のフローチャートである。 図において、(1)は管理テーブル、(2)はラダーフ
ァイル、(3)〜ααはメツセージファイル、 +Il
lはリンクファイル、(Iっはキー入力処理手段、 (
13は画面表示手段、 Q41はラダー編集処理手段、
αSはメツセージ編集処理手段、顧はリンク処理手段、
 anはリンクファイル入出力手段、錦はラダーファイ
ル入出力手段、 a’Jはメツセージファイル入出力手
段j (イ)はリンクファイル分割処理手段である〇な
お1図中同一符号は、同−又は相当部分を示すO
Figure 1 is a diagram showing an example of a setting screen for dividing a linked file of this invention, Figure 2 is a diagram showing an example of a file division image of a linked file of this invention, and the third diagram is a diagram of the invention. FIG. FIG. 4 is a flowchart of the present invention, FIG. 5 is a block diagram of a conventional processing means, and FIG. 6 is a conventional flowchart. In the figure, (1) is a management table, (2) is a ladder file, (3) ~ αα are message files, +Il
l is the link file, (I is the key input processing means, (
13 is a screen display means, Q41 is a ladder editing processing means,
αS is a message editing processing means, ko is a link processing means,
an is a link file input/output means, brocade is a ladder file input/output means, and a'J is a message file input/output means. O indicating part

Claims (1)

【特許請求の範囲】[Claims]  操作ボードからのキー入力を処理するキー入力処理手
段と、シーケンスプログラムをファイルとして入出力す
ることのできる手段と、同様にメッセージをファイルと
して入出力することのできる手段と、前記シーケンスプ
ログラムとメッセージをリンクする手段と、リンクされ
たデータをファイルとして入出力できる手段を備えたプ
ログラマブル・ロジック・コントローラ開発ツール。
Key input processing means for processing key input from an operation board; means for inputting and outputting sequence programs as files; means for similarly inputting and outputting messages as files; A programmable logic controller development tool that has a means for linking and a means for inputting and outputting linked data as a file.
JP28325188A 1988-11-09 1988-11-09 Programmable logic controller development tool Pending JPH02129703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28325188A JPH02129703A (en) 1988-11-09 1988-11-09 Programmable logic controller development tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28325188A JPH02129703A (en) 1988-11-09 1988-11-09 Programmable logic controller development tool

Publications (1)

Publication Number Publication Date
JPH02129703A true JPH02129703A (en) 1990-05-17

Family

ID=17663040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28325188A Pending JPH02129703A (en) 1988-11-09 1988-11-09 Programmable logic controller development tool

Country Status (1)

Country Link
JP (1) JPH02129703A (en)

Similar Documents

Publication Publication Date Title
JP3027009B2 (en) Design capture system
JPS61156289A (en) Combination of document
JPH07104981A (en) Program construction device using object link information
JPH02129703A (en) Programmable logic controller development tool
JPH05100730A (en) Programming device for motion controller
JP2653276B2 (en) Keyboard simulator
JP3420785B2 (en) Program construction equipment
JPS62217320A (en) List compilation processing system
JPS63247809A (en) Composing/editing control system for message text
JPH05334325A (en) Document preparing system of data processor
JPH04168569A (en) Generation managing system for document file
JPH0415762A (en) Graphic editing system
JPH02128219A (en) System generation system using system definition information
JP2001005703A (en) Method and system for generating text type file
JPH03116223A (en) Screen control system for input of variable length data
JPH02236722A (en) System for controlling common use of input/output picture format
JPH0210430A (en) Online program generating system
JPH0325632A (en) Error message display device
JPH0581029A (en) Fuzzy control system development support device
JPH0635643A (en) Screen output method for data
JPH03150671A (en) Drawing drafting device
JPH02183326A (en) Two-dimensional data editing and displaying device
KR960035308A (en) How to create and edit an electronic document form in an electronic document exchange system
JPH03110628A (en) Source program generating device
JPH09244882A (en) Logic automatic generating device