JPH04319702A - Sequence program forming device - Google Patents

Sequence program forming device

Info

Publication number
JPH04319702A
JPH04319702A JP11528691A JP11528691A JPH04319702A JP H04319702 A JPH04319702 A JP H04319702A JP 11528691 A JP11528691 A JP 11528691A JP 11528691 A JP11528691 A JP 11528691A JP H04319702 A JPH04319702 A JP H04319702A
Authority
JP
Japan
Prior art keywords
relay
ladder program
comment
editing area
coil
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
JP11528691A
Other languages
Japanese (ja)
Inventor
Sumihisa Honda
本田 純久
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 JP11528691A priority Critical patent/JPH04319702A/en
Publication of JPH04319702A publication Critical patent/JPH04319702A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten time required for the edition of a ladder program by automatically displaying relay comment necessary for the edition of the ladder program without individually specifying the relay number of each relay comment to be displayed. CONSTITUTION:This sequence program forming device for a programmable controller which has a ladder program editing area and a relay comment editing area is provided with a ladder program display means 2, a means for specifying a coil instruction by the ladder program editing area, a means for retrieving plural relay numbers relating to the excitation/deexcitation of a coil based upon a specified coil instruction from a ladder program file 6, a means for retrieving the number of the coil instruction and relay comments corresponding to the plural retrieved relay numbers from a relay comment file 8, and a means for displaying the plural retrieved relay comments on the relay comment editing area.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プログラマブルコント
ローラのシーケンスプログラム作成装置に関し、特にコ
メント文の表示手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence program creation device for a programmable controller, and more particularly to comment display means.

【0002】0002

【従来の技術】ラダープログラムの編集をリレー番号だ
けで行うのは困難なためリレーコメントを参照しながら
行うのが通常である。その手段として画面をラダープロ
グラム編集エリアとリレーコメント編集エリアに分割し
、リレーコメント編集エリアにラダープログラムの編集
に必要なリレーコメントを表示させておくという方法が
ある。
2. Description of the Related Art Since it is difficult to edit a ladder program using only relay numbers, editing is usually done while referring to relay comments. One way to do this is to divide the screen into a ladder program editing area and a relay comment editing area, and display relay comments necessary for editing the ladder program in the relay comment editing area.

【0003】0003

【発明が解決しようとする課題】ところが、従来技術で
は、リレーコメント編集エリアに、どのリレーコメント
を表示させるかは操作者が指定する必要があり、ラダー
プログラムを編集するときに必要なリレー番号を一つ一
つ指定しなければならないという問題点があった。そこ
で本発明は、表示するリレーコメントのリレー番号を一
つ一つ指定することなく、ラダープログラムを編集する
ときに必要なリレーコメントが自動的に表示されるよう
にし、ラダープログラムの編集に要する時間を短縮する
ことを目的とする。
[Problems to be Solved by the Invention] However, in the prior art, the operator has to specify which relay comment to display in the relay comment editing area, and when editing the ladder program, the operator must specify the necessary relay number. There was a problem in that each item had to be specified one by one. Therefore, the present invention enables necessary relay comments to be automatically displayed when editing a ladder program without specifying the relay numbers of the relay comments to be displayed one by one, thereby reducing the time required to edit the ladder program. The purpose is to shorten the

【0004】0004

【課題を解決するための手段】上記目的を達成するため
、本発明は、ラダープログラムの編集を行うときは、コ
イル命令がどのような条件で付勢されるかを調べること
が多いことに注目し、ラダープログラム編集エリアでコ
イル命令を指定することにより、そのコイルの付勢・消
勢に関係する全てのリレー番号をラダープログラムファ
イルから検索し、コイル命令の番号と検索された複数の
リレー番号をもとにリレーコメントをリレーコメントフ
ァイルから検索し、検索されたリレーコメントをリレー
番号とともにリレーコメント編集エリアに表示すること
によりラダープログラムの編集を効率よくおこなおうと
するもである。
[Means for Solving the Problems] In order to achieve the above object, the present invention focuses on the fact that when editing a ladder program, it is often checked under what conditions a coil command is energized. Then, by specifying a coil command in the ladder program editing area, all relay numbers related to energization/deenergization of that coil are searched from the ladder program file, and the coil command number and the searched multiple relay numbers are searched. This is an attempt to efficiently edit a ladder program by searching relay comments from a relay comment file based on , and displaying the searched relay comments together with the relay number in the relay comment editing area.

【0005】[0005]

【作用】本発明により、表示させるリレーコメントのリ
レー番号を一つ一つ指定することなく、ラダープログラ
ムの編集に必要なリレーコメントが自動的に表示される
のでラダープログラムの編集に要する時間を短縮するこ
とが可能となる。
[Operation] According to the present invention, the relay comments necessary for editing the ladder program are automatically displayed without specifying the relay numbers of the relay comments to be displayed one by one, reducing the time required for editing the ladder program. It becomes possible to do so.

【0006】[0006]

【実施例】以下、本発明の具体的実施例を図において説
明する。第1図は、本発明の一実施例を表すブロックダ
イアグラムである。1は表示画面、2はラダープログラ
ム表示手段、3はリレーコメント表示手段、4はコイル
命令指定手段、5はリレー番号検索手段、6はラダープ
ログラムファイル、7はリレーコメント検索手段、8は
リレーコメントファイルである。ラダープログラムファ
イル6の一部をラダープログラム表示手段2により表示
画面1に表示する。ラダープログラム表示手段2からコ
イル命令指定手段4によりコイル番号を抜き出し、それ
をリレー番号検索手段5とリレーコメント検索手段7に
渡す。リレー番号検索手段5は、渡されたコイル番号を
もとにラダープログラムファイル6よりそのコイルの付
勢・消勢に関係するリレー番号を全て検索し、検索した
リレー番号をリレーコメント検索手段7に渡す。リレー
コメント検索手段7は受け取ったコイル番号とリレー番
号をもとにリレーコメントファイル8からリレーコメン
トを検索しリレー番号表示手段3により表示画面1に表
示する。第2図は、ラダープログラム編集中の画面を示
す図である。ラダープログラム編集エリア内でカーソル
をコイル命令006に合わせ、コイル命令指定操作を行
うことによりリレーコメント編集エリア内にコイル命令
006のコメントと、コイル命令006の付勢・消勢に
関係するリレーコメント001、002、003、00
4、005が表示される。第3図は、同様にコイル命令
010を指定している画面であり、007、008、0
09、010のコメントが表示されている。
[Embodiments] Hereinafter, specific embodiments of the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram representing one embodiment of the present invention. 1 is a display screen, 2 is a ladder program display means, 3 is a relay comment display means, 4 is a coil command designation means, 5 is a relay number search means, 6 is a ladder program file, 7 is a relay comment search means, and 8 is a relay comment. It is a file. A part of the ladder program file 6 is displayed on the display screen 1 by the ladder program display means 2. The coil number is extracted from the ladder program display means 2 by the coil command designation means 4 and passed to the relay number search means 5 and relay comment search means 7. The relay number search means 5 searches the ladder program file 6 for all relay numbers related to energization/deenergization of the coil based on the passed coil number, and sends the searched relay number to the relay comment search means 7. hand over. The relay comment search means 7 searches the relay comment file 8 for relay comments based on the received coil number and relay number, and displays them on the display screen 1 by the relay number display means 3. FIG. 2 is a diagram showing a screen during editing of a ladder program. By placing the cursor on coil instruction 006 in the ladder program editing area and performing the coil instruction specification operation, a comment for coil instruction 006 and a relay comment 001 related to energization/deenergization of coil instruction 006 will be displayed in the relay comment editing area. ,002,003,00
4,005 is displayed. FIG. 3 is a screen that similarly specifies coil command 010, 007, 008, 0
Comments of 09 and 010 are displayed.

【0007】[0007]

【発明の効果】以上述べたように本発明によれば、ラダ
ープログラムの編集が効率よく行なえるという効果があ
る。
As described above, according to the present invention, it is possible to efficiently edit a ladder program.

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

【図1】本発明の一実施例を表すブロックダイアグラム
FIG. 1 is a block diagram representing one embodiment of the present invention.

【図2】本発明の一実施例で、ラダープログラム編集中
の画面を表す。
FIG. 2 shows a screen during editing of a ladder program in one embodiment of the present invention.

【図3】本発明の一実施例で、ラダープログラム編集中
の画面を表す。
FIG. 3 shows a screen during editing of a ladder program in one embodiment of the present invention.

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

1  表示画面 2  ラダープログラム表示手段 3  リレーコメント表示手段 4  コイル命令指定手段 5  リレー番号検索手段 6  ラダープログラムファイル 7  リレーコメント検索手段 8  リレーコメントファイル 101  ラダープログラム編集エリア102  リレ
ーコメント編集エリア
1 Display screen 2 Ladder program display means 3 Relay comment display means 4 Coil command designation means 5 Relay number search means 6 Ladder program file 7 Relay comment search means 8 Relay comment file 101 Ladder program editing area 102 Relay comment editing area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ラダープログラム編集エリアとリレー
コメント編集エリアを有するプログラマブルコントロー
ラのシーケンスプログラム作成装置において、ラダープ
ログラム表示手段と、ラダープログラム編集エリアでコ
イル命令を指定する手段と、指定されたコイル命令によ
りそのコイルの付勢・消勢に関係する複数のリレー番号
をラダープログラムファイルから検索する手段と、その
コイル命令の番号と検索された複数のリレー番号に該当
するリレーコメントをリレーコメントファイルから検索
する手段と、検索された複数のリレーコメントをリレー
コメント編集エリアに表示する手段とを備えたことを特
徴とするシーケンスプログラム作成装置。
Claim 1. A sequence program creation device for a programmable controller having a ladder program editing area and a relay comment editing area, comprising: a ladder program display means, a means for specifying a coil command in the ladder program editing area, and a sequence program generating apparatus for a programmable controller having a ladder program editing area and a relay comment editing area; A means for searching a ladder program file for multiple relay numbers related to energization/deenergization of the coil, and a relay comment file that searches for relay comments corresponding to the coil instruction number and the searched multiple relay numbers. 1. A sequence program creation device comprising: means for displaying a plurality of retrieved relay comments in a relay comment editing area.
JP11528691A 1991-04-18 1991-04-18 Sequence program forming device Pending JPH04319702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11528691A JPH04319702A (en) 1991-04-18 1991-04-18 Sequence program forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11528691A JPH04319702A (en) 1991-04-18 1991-04-18 Sequence program forming device

Publications (1)

Publication Number Publication Date
JPH04319702A true JPH04319702A (en) 1992-11-10

Family

ID=14658904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11528691A Pending JPH04319702A (en) 1991-04-18 1991-04-18 Sequence program forming device

Country Status (1)

Country Link
JP (1) JPH04319702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017016234A (en) * 2015-06-29 2017-01-19 ファナック株式会社 Ladder program editing device capable of displaying nearest network comment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017016234A (en) * 2015-06-29 2017-01-19 ファナック株式会社 Ladder program editing device capable of displaying nearest network comment
US10268764B2 (en) 2015-06-29 2019-04-23 Fanuc Corporation Ladder program editing device capable of displaying network comment

Similar Documents

Publication Publication Date Title
JPH04319702A (en) Sequence program forming device
JP2003084813A (en) Editing device for ladder circuit and its editing method
JP2001184112A (en) Method and device for automatically blanking parts and computer readable recording medium recording program for executing automatic blanking of parts
JPH05189224A (en) Management system for processing method
JPH1166114A (en) Device and method for analyzing simulation
JPH05205019A (en) Image processing display device
JPH05277835A (en) Wire electric discharge machining device
JPH07129225A (en) Automatic programming device for complex machining
JPH05205017A (en) Graphic processor
JPH03255575A (en) Automatic numbering system
JPH05173769A (en) Device and method for supporting software design
JPH05210473A (en) Job menu display system
JPH09319419A (en) Processing method for working graphic
JPS621068A (en) Screen switching system
JP2004362456A (en) Cad device
JPH06337770A (en) Confirmation assisting device for data analytic design information
JPH03263206A (en) Retrieving method for working program
JPH06162021A (en) Document preparing device and document preparation control method
JPH03139702A (en) Automatic generation system for component table
JPH01213707A (en) Input/output control system for terminal message
JPH07254002A (en) Cad parts selecting device
JPS58207151A (en) Routine processing system
JPH064340A (en) Operation history storage system for power source control simulator
JPH05158752A (en) Method and device for displaying processing state
JPH04127374A (en) Interactive parametric graphic processing method