JPH064111A - Programmable controller programming device - Google Patents

Programmable controller programming device

Info

Publication number
JPH064111A
JPH064111A JP18458392A JP18458392A JPH064111A JP H064111 A JPH064111 A JP H064111A JP 18458392 A JP18458392 A JP 18458392A JP 18458392 A JP18458392 A JP 18458392A JP H064111 A JPH064111 A JP H064111A
Authority
JP
Japan
Prior art keywords
signal
ladder program
signal definition
definition table
programmable controller
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
JP18458392A
Other languages
Japanese (ja)
Inventor
Akio Nakamura
彰雄 中村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP18458392A priority Critical patent/JPH064111A/en
Publication of JPH064111A publication Critical patent/JPH064111A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

(57)【要約】 【目的】ラダープログラムの入力に費やす時間を削減
し、またラダープログラムの変更処理を容易にし、保守
性を向上させる。 【構成】プログラマブルコントローラのリレー回路命令
で構成されるラダープログラム203を作成する場合
に、各信号の関連を表形式で入力できるようにし(以
降、表形式プログラミングと呼ぶ)、その信号定義表2
01をコンバータ202に入力することにより、ラダー
プログラム203が自動生成されるようにする。また、
信号定義表201には信号定義サブ表204を付属させ
ることができるようにし、複雑な信号はグルーピングす
ることにより、簡潔で見やすくできるようにする。
(57) [Summary] [Purpose] To reduce the time spent for inputting a ladder program, facilitate the change processing of the ladder program, and improve maintainability. [Structure] When a ladder program 203 composed of a relay circuit instruction of a programmable controller is created, the relation of each signal can be input in a table format (hereinafter referred to as table format programming), and its signal definition table
By inputting 01 to the converter 202, the ladder program 203 is automatically generated. Also,
A signal definition sub-table 204 can be attached to the signal definition table 201, and complex signals can be grouped so as to be simple and easy to see.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、鉄鋼プラント、化学プ
ラント、製紙プラント等の製造現場に設置されるプログ
ラマブルコントローラに関し、特にリレー回路命令で構
成されるラダープログラムを自動生成する装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller installed at a manufacturing site such as a steel plant, a chemical plant and a papermaking plant, and more particularly to an apparatus for automatically generating a ladder program composed of relay circuit instructions. .

【0002】[0002]

【従来の技術】従来のプログラマブルコントローラのプ
ログラミング方法では、図1に示すように、リレー回路
命令で構成されるラダープログラム102(例えば、各
設備機械のインタロック用プロブラムなど)は、作成者
103が各信号の関連ドキュメント101を作成し、そ
のドキュメントを元に、ラダープログラム102を作成
する必要があった。
2. Description of the Related Art In a conventional programmable controller programming method, as shown in FIG. 1, a creator 103 creates a ladder program 102 (for example, an interlock program for each equipment machine) which is composed of relay circuit instructions. It was necessary to create the related document 101 of each signal and create the ladder program 102 based on the document.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記方法では
ラダープログラムの入力に時間がかかりすぎるという問
題や、各信号の関連に変更が生じた場合などには、ドキ
ュメントもラダープログラムも変更しなければならず、
各信号の関連が複雑になるほどプログラミングミスが混
入する可能性が大きくなるという問題点があった。そこ
で、本発明は上記のようなラダープログラムの入力に費
やす時間を削減すること、及びラダープログラムの変更
処理を容易にし、保守性を向上することを目的とするも
のである。
However, in the above method, when the input of the ladder program takes too long, or when the relation of each signal is changed, the document and the ladder program must be changed. Not
There is a problem in that the more complicated the relationship between the signals, the greater the possibility of programming errors. Therefore, it is an object of the present invention to reduce the time spent for inputting a ladder program as described above, facilitate the change processing of the ladder program, and improve maintainability.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、図2に示すように、プログラマブルコントローラの
リレー回路命令で構成されるラダープログラム203を
作成する場合に、各信号の関連を表形式で入力できるよ
うにし(以降、表形式プログラミングと呼ぶ)、その信
号定義表201をコンバータ202に入力することによ
り、ラダープログラム203が自動生成されるようにす
る。また、信号定義表201には信号定義サブ表204
を付属させることができるようにし、複雑な信号はグル
ーピングすることにより、簡潔で見やすくできるように
する。
In order to solve the above problems, as shown in FIG. 2, when a ladder program 203 composed of a relay circuit instruction of a programmable controller is created, the relation of each signal is shown in a table format. The ladder program 203 is automatically generated by inputting the signal definition table 201 into the converter 202 (hereinafter referred to as tabular programming). In addition, the signal definition sub-table 204 is included in the signal definition table 201.
, And complex signals can be grouped so that they are simple and easy to see.

【0005】[0005]

【作用】上記の表形式プログラミング手段により、作成
者205はドキュメント作成感覚で、信号定義表20
1、信号定義サブ表204に各信号情報を入力するだけ
でラダープログラム203が自動生成されることによ
り、ラダープログラム入力の時間が削減できる。また、
信号定義表に付属する信号定義サブ表204を使用する
ことにより、各信号情報が階層的に表現できるため、各
信号の関連が簡潔で見やすくなることと、変更が生じた
場合に直接ラダープログラム203を変更する必要がな
いことから、プログラムの変更処理が容易になり、保守
性が高まる。
By the above-mentioned tabular programming means, the creator 205 feels as if creating a document, and the signal definition table 20
1. The ladder program 203 is automatically generated only by inputting each signal information to the signal definition sub-table 204, so that the time for inputting the ladder program can be reduced. Also,
By using the signal definition sub-table 204 attached to the signal definition table, each signal information can be expressed hierarchically, so that the relation of each signal is simple and easy to see, and when the change occurs, the direct ladder program 203 Since it is not necessary to change, the process of changing the program is facilitated and maintainability is improved.

【0006】[0006]

【実施例】以下本発明を図面に示す一例に基づいて説明
する。図3は、機械設備の出力のインタロックプログラ
ムを、本発明における、表形式プログラミングにより作
成した例である。以下、信号定義表301を例として作
成手順を示す。 レジスタ番号設定列304に、対象出力信号を制御す
るために必要な入力信号の読みだし先レジスタ番号(R
1〜R6)を設定する。レジスタ番号はビットレベルま
で設定する. レジスタ番号設定列304に、出力信号格納エリア・
レジスタ番号(R7)を設定する。 信号シンボル設定列305、信号名称設定列306
に、各信号固有のシンボル、名称を設定する。 なお,シンボルは、ラダープログラムに変換する際のラ
ベルとして使用され、名称は各信号のコメントとなるも
のである。 i/o種別設定列307に、信号の種別を設定する。 I:入力信号 O:出力信号 −:出力信号を接点として使用するもの 各入力信号と出力信号の関連を列単位で設定してい
く。 ○:A接点リレー(入力信号) ×:B接点リレー(入力信号) ●:コイル(出力信号) 上記手順〜により信号定義表301を作成する。な
お、信号定義表301は以下の論理式(式1)と同等で
ある。また、ラダープロブラムにコンバートすると図4
になる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below based on an example shown in the drawings. FIG. 3 is an example in which an interlock program for output of mechanical equipment is created by tabular programming in the present invention. The procedure for creating the signal definition table 301 will be described below. In the register number setting column 304, the read destination register number (R
1 to R6) are set. Set the register number up to the bit level. In the register number setting column 304, the output signal storage area
Set the register number (R7). Signal symbol setting column 305, signal name setting column 306
Then, the symbol and name unique to each signal are set. The symbol is used as a label when converting to a ladder program, and the name is a comment of each signal. The type of signal is set in the i / o type setting column 307. I: Input signal O: Output signal-: Using output signal as a contact Set the relationship between each input signal and output signal in columns. ◯: A contact relay (input signal) X: B contact relay (input signal) ●: Coil (output signal) The signal definition table 301 is created by the above procedure. The signal definition table 301 is equivalent to the following logical expression (Expression 1). In addition, when converted to a ladder program, Fig. 4
become.

【0007】[0007]

【数1】 [Equation 1]

【0008】信号定義表301を作成した後、信号定義
サブ表302、303を同様の手順で作成する。信号定
義サブ表302は入力信号S1に関する信号の情報を定
義したものであり、信号定義サブ表303は入力信号S
6に関する信号の情報を定義したものである。また、複
数の出力信号制御を1つのラダープログラムで実行させ
たい場合にも、信号定義表308、信号定義表309の
ように信号定義表を複数作成しページングすることで可
能となる。以上のようにして作成した信号定義表(30
1、302、303、308、309)を第2図のコン
バータ202に入力する。以下コンバータ202の処理
手順を示す。 :信号定義サブ表−1(302)を論理式(式2)に
変換する。
After the signal definition table 301 is created, the signal definition sub-tables 302 and 303 are created in the same procedure. The signal definition sub-table 302 defines signal information related to the input signal S1, and the signal definition sub-table 303 defines the input signal S.
6 defines the signal information regarding 6. Also, when it is desired to execute a plurality of output signal controls by one ladder program, it is possible to create a plurality of signal definition tables like the signal definition table 308 and the signal definition table 309 and perform paging. The signal definition table (30
1, 302, 303, 308, 309) to the converter 202 of FIG. The processing procedure of the converter 202 is shown below. : Signal definition sub-table-1 (302) is converted into a logical expression (expression 2).

【0009】[0009]

【数2】 [Equation 2]

【0010】式2をラダープログラムに変換すると図5
の501のようになるが、これは冗長形(ステップ数が
増える)となっている。 :(式2)を最適化し、(式3)を得る。
When equation 2 is converted into a ladder program, FIG.
No. 501, but this is a redundant type (the number of steps increases). : (Equation 2) is optimized to obtain (Equation 3).

【0011】[0011]

【数3】 [Equation 3]

【0012】よってTherefore

【0013】[0013]

【数4】 [Equation 4]

【0014】(式3)をラダープログラムに変換すると
図5の502となる。 :以下信号定義サブ表−2(303)、信号定義表
(301)、信号定義表(308)、信号定義表(30
9)・・・の順序で、の処理を繰り返すと以下の論
理式(式4、式5)が得られる。 (1)信号定義サブ表−2(303)
Converting (Equation 3) into a ladder program results in 502 in FIG. : Signal definition sub-table-2 (303), signal definition table (301), signal definition table (308), signal definition table (30)
9) ... Is repeated in the order, the following logical expressions (Equation 4 and Equation 5) are obtained. (1) Signal definition sub-table-2 (303)

【0015】[0015]

【数5】 [Equation 5]

【0016】(2)信号定義表(301)(2) Signal definition table (301)

【0017】[0017]

【数6】 [Equation 6]

【0018】(以後、作成した信号定義表のページ順に
変換する) :上記処理により得られた論理式(式3、式4、式
5、・・・)を1つのラーダープログラムにすると図6
となる。以上のようにして、図3に示す表形式プログラ
ミングのデータを図2に示すようにコンバータ202に
入力することにより、図6のような最適化されたラダー
プロブラム601が自動生成される。各信号の情報に変
更が生じた場合は、図3の信号定義表の設定を変更して
コンバータ202に入力すれば、信号情報を変更したラ
ダープログラムが生成される。
(Converted in the order of pages of the created signal definition table): When the logical expressions (Equation 3, Equation 4, Equation 5, ...) Obtained by the above processing are made into one ladder program, FIG.
Becomes As described above, by inputting the data of the tabular programming shown in FIG. 3 into the converter 202 as shown in FIG. 2, the optimized ladder program 601 as shown in FIG. 6 is automatically generated. When the information of each signal is changed, the setting of the signal definition table of FIG. 3 is changed and input to the converter 202, and the ladder program with the changed signal information is generated.

【0019】[0019]

【発明の効果】このようにして本発明によれば、プログ
ラマブルコントローラのリレー回路命令で構成されるラ
ダープログラムのプログラム入力時間が削減できると共
に、ラダープロブラムの変更処理も容易になり、保守性
が向上する。
As described above, according to the present invention, the program input time of the ladder program constituted by the relay circuit instructions of the programmable controller can be reduced, the ladder program change processing can be facilitated, and the maintainability is improved. To do.

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

【図1】従来のプログラマブルコントローラのリレー回
路命令で構成されるラダープログラムの作成方法を示す
FIG. 1 is a diagram showing a method for creating a ladder program including a conventional programmable controller relay circuit instruction.

【図2】本発明による、プログラマブルコントローラの
リレー回路命令で構成されるラダープログラムの自動生
成手順を示す図
FIG. 2 is a diagram showing a procedure for automatically generating a ladder program including relay circuit instructions of a programmable controller according to the present invention.

【図3】表形式プログラミングの例を示す図FIG. 3 is a diagram showing an example of tabular programming.

【図4】「図3の信号定義表301」と同等のラダープ
ログラム(冗長形)を示す図
FIG. 4 is a diagram showing a ladder program (redundant type) equivalent to the “signal definition table 301 of FIG. 3”.

【図5】「図3の信号定義サブ表302」と同等のラダ
ープログラム(冗長形と最適形)を示す図
FIG. 5 is a diagram showing a ladder program (redundant type and optimum type) equivalent to the “signal definition sub-table 302 of FIG. 3”.

【図6】本発明により自動生成された、ラダープログラ
ムを示す図
FIG. 6 is a diagram showing a ladder program automatically generated by the present invention.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ラダープログロムで構成されるプログラマ
ブルコントローラのプログラミング装置において、 あるコイルのONがどのリレーの開閉に依存するかを定
義する表であって、前記コイルがONになるケースを、
各リレーと各ケースを縦横にとったマトリクス状に表示
する信号定義表を作成する信号定義表作成手段と、 前記信号定義表から論理式に変換する手段と、 前記変換された論理式の冗長性を除いて最適化したラダ
ープログラムを生成する手段とを備えたことを特徴とす
るプログラマブルコントローラのプログラミング装置。
1. A programming device for a programmable controller composed of a ladder program, which is a table defining which ON / OFF of a coil depends on opening / closing of a relay, and a case in which the coil is ON,
Signal definition table creating means for creating a signal definition table for displaying each relay and each case in a matrix form in a vertical and horizontal direction, means for converting the signal definition table into a logical expression, and redundancy of the converted logical expression And a means for generating an optimized ladder program except for the above.
【請求項2】前記信号定義表のコイルが他のリレーの付
勢に関係するように複数の信号定義表が階層構造になっ
ていることを特徴とする請求項1記載のプログラマブル
コントローラのプログラミング装置。
2. The programming device for a programmable controller according to claim 1, wherein a plurality of signal definition tables are hierarchically structured so that the coils of the signal definition table relate to energization of other relays. .
JP18458392A 1992-06-17 1992-06-17 Programmable controller programming device Pending JPH064111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18458392A JPH064111A (en) 1992-06-17 1992-06-17 Programmable controller programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18458392A JPH064111A (en) 1992-06-17 1992-06-17 Programmable controller programming device

Publications (1)

Publication Number Publication Date
JPH064111A true JPH064111A (en) 1994-01-14

Family

ID=16155752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18458392A Pending JPH064111A (en) 1992-06-17 1992-06-17 Programmable controller programming device

Country Status (1)

Country Link
JP (1) JPH064111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007094898A (en) * 2005-09-29 2007-04-12 Yokogawa Electric Corp Program management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007094898A (en) * 2005-09-29 2007-04-12 Yokogawa Electric Corp Program management device

Similar Documents

Publication Publication Date Title
JPS6128137B2 (en)
JPS63172330A (en) Shading method of document processing device
JPH064111A (en) Programmable controller programming device
JPH07168709A (en) Method and device for simulating program generator utilization specification
JPS58158704A (en) Plc of time chart input system
JP2579996B2 (en) Core state prediction device
SU702378A1 (en) Digital computer for controlling electron beam micromachining processes
JP2723236B2 (en) Character reader
JPH0282314A (en) Picture generating device
JPH06161841A (en) Record converting device
JPH07271288A (en) Driving training simulator device and its initial state setting method
JPH03188555A (en) Document processing system
JPS59177637A (en) Interactive screen generation method
JPS63314055A (en) Screen editing system
JPH0326870B2 (en)
JPH0373059A (en) Document editing system
JPH04111020A (en) System s/w generation supporting device
JPH04191908A (en) How to create NC command data
JPS63253432A (en) Editing system for program comment sentence
JPS6349876A (en) typesetting system
JPH02105279A (en) Input system for assembler source program
JPH0428310B2 (en)
JPH03139731A (en) Monitoring controller
JPH0242564A (en) Word processor
JPH02310614A (en) Automatic number extracting system for input item number