JP2706472B2 - Sequence program editing method - Google Patents

Sequence program editing method

Info

Publication number
JP2706472B2
JP2706472B2 JP63167153A JP16715388A JP2706472B2 JP 2706472 B2 JP2706472 B2 JP 2706472B2 JP 63167153 A JP63167153 A JP 63167153A JP 16715388 A JP16715388 A JP 16715388A JP 2706472 B2 JP2706472 B2 JP 2706472B2
Authority
JP
Japan
Prior art keywords
sequence program
display
editing method
displayed
cross
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.)
Expired - Fee Related
Application number
JP63167153A
Other languages
Japanese (ja)
Other versions
JPH0216603A (en
Inventor
久仁夫 田中
弘介 千葉
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.)
FANUC Corp
Original Assignee
FANUC 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 FANUC Corp filed Critical FANUC Corp
Priority to JP63167153A priority Critical patent/JP2706472B2/en
Publication of JPH0216603A publication Critical patent/JPH0216603A/en
Application granted granted Critical
Publication of JP2706472B2 publication Critical patent/JP2706472B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はPC(プログラマブル・コントローラ)におけ
るシーケンス・プログラム編集方式に関し、特に表示装
置への表示内容を改良したシーケンス・プログラム編集
方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence program editing method for a PC (programmable controller), and more particularly to a sequence program editing method with improved display contents on a display device.

〔従来の技術〕[Conventional technology]

PCのシーケンス・プログラムを編集するには、ラダー
図形式のシーケンス・プログラムを表示装置の画面上に
表示させて、これに追加、削除、変更等の操作を加える
のが一般的である。
In order to edit a sequence program on a PC, it is common to display a sequence program in a ladder diagram format on a screen of a display device, and to perform operations such as addition, deletion, and change.

ラダー図の中の接点もしくはコイルのクロスリファレ
ンス情報を知るためには、編集作業を中断し又は終了し
た後に別のキー操作を加えて、ニーモニック表示のクロ
スリファレンス一覧表またはラダー図形式のプログラム
リストをプリントアウトさせねばならなかった。
To know the cross-reference information of the contact or coil in the ladder diagram, after interrupting or ending the editing work, add another key operation to display the mnemonic display cross-reference list or ladder diagram format program list. I had to print it out.

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

ラダー図は、複数のネットにより構成されている。大
規模なラダー図になると数多くのネットを含むので、編
集作業も困難なものとなり誤りを生じ易い。編集を行っ
ている途中で任意の接点またはコイルのクロスリファレ
ンス情報を知ることが出来れば極めて便利であり、編集
に要する時間を短縮させることが出来る。
The ladder diagram is composed of a plurality of nets. Since a large-scale ladder diagram includes a large number of nets, editing work is also difficult and errors are likely to occur. If it is possible to know the cross-reference information of any contact or coil during editing, it is extremely convenient and the time required for editing can be reduced.

ところが従来の技術では、上述したようにリストをプ
リントアウトする以外には方法がないので、即座にクロ
スリファレンス情報を知ることが出来なかった。
However, in the conventional technique, there is no other method than printing out the list as described above, so that the cross-reference information cannot be immediately known.

本発明はこのような点に鑑みてなされたものであり、
編集中に即座にクロスリファレンス情報を知ることの可
能なシーケンス・プログラム編集方式を提供することを
目的とする。
The present invention has been made in view of such a point,
It is an object of the present invention to provide a sequence program editing method capable of immediately knowing cross-reference information during editing.

〔課題を解決するための手段〕[Means for solving the problem]

本発明では上記課題を解決するために、 表示装置の表示画面上にラダー図形式のシーケンス・プ
ログラムを表示させて編集を進めるPCのシーケンス・プ
ログラム編集方式において、 前記ラダー図の接点及びコイルのうちの任意のものの
クロスリファレンス情報をプログラム編集中に前記表示
画面上へ表示するようにしたことを特徴とするシーケン
ス・プログラム編集方式、 が提供される。
In order to solve the above problems, the present invention provides a PC sequence program editing method in which a ladder diagram format sequence program is displayed on a display screen of a display device and editing is performed. A sequence program editing method, wherein cross-reference information of any of the above items is displayed on the display screen during program editing.

〔作用〕[Action]

ラダー図の接点またはコイルの上にカーソルを置かれ
た状態で特定のファンクション・キー入力があると、カ
ーソルを置かれた接点またはコイルのクロスリファレン
ス情報が表示画面上に併せて表示される。
When a specific function key is input while the cursor is placed on a contact or coil in the ladder diagram, cross reference information of the contact or coil on which the cursor is placed is also displayed on the display screen.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図に、本発明のシーケンス・プログラム編集方式
による表示画面への表示例を示す。図において、X0.1、
X0.2、X0.3、X0.4、X1.1、X1.2、Y1.1、Y1.2、Y2.1は論
理的なリレー接点であり、G3.1は論理的なリレーのコイ
ルである。画面の上部には表示中のネット番号が示され
ている。第1図の表示例では、2番のネットは省略して
1番のネットのみを示してある。画面の下部には、ファ
ンクション・キーの機能内容が略号で表示されている。
FIG. 1 shows a display example on a display screen according to the sequence program editing method of the present invention. In the figure, X0.1,
X0.2, X0.3, X0.4, X1.1, X1.2, Y1.1, Y1.2, Y2.1 are logical relay contacts, and G3.1 is a logical relay coil It is. The net number being displayed is shown at the top of the screen. In the display example of FIG. 1, the second net is omitted and only the first net is shown. At the bottom of the screen, the function contents of the function keys are indicated by abbreviations.

第1図は、接点X0.1の上にカーソルが置かれて「CROS
S」の略号を有するファンクション・キーが押された後
の状態を示している。「CROSS」はクロスリファレンス
の略であり、クロスリファレンス表示コマンドを入力す
るためのキーであることを示す。接点X0.1の下には、ク
ロスリファレンスとして「WRT−5NET」と「RD−6NET」
との二つの接点情報(信号情報)が表示されている。こ
れにより、X0.1のアドレスが5番のネットと6番のネッ
トにおいても使用されていることが判る。このうち、6
番のネットにおいては接点のアドレスとして一応正しく
使用されているが、5番のネットにおいては誤ってコイ
ルのアドレスとして使用されていることが判る。
In FIG. 1, the cursor is placed on the contact point X0.1 and “CROSS
7 shows a state after a function key having an abbreviation "S" is pressed. “CROSS” is an abbreviation for cross reference, and indicates that it is a key for inputting a cross reference display command. Below the contact X0.1, "WRT-5NET" and "RD-6NET" are used as cross references.
And two contact information (signal information) are displayed. This shows that the X0.1 address is also used in the fifth net and the sixth net. Of these, 6
In the No. 5 net, the address is correctly used as the contact address, but in the No. 5 net, the address is incorrectly used as the coil address.

第1図においては、接点X0.1のクロスリファレンス表
示が接点X1.1の表示と重なってX1.1の表示が消されてし
まうのを避けるためにラダーの一部を画面下方へシフト
させた状態を示している。
In FIG. 1, a part of the ladder is shifted to the lower part of the screen in order to prevent the cross-reference display of the contact X0.1 from overlapping the display of the contact X1.1 so that the display of X1.1 is not erased. The state is shown.

第2図に、本発明のシーケンス・プログラム編集方式
による他の表示例を示す。表示画面には1番のネットの
みを示してある。第2図に示したネットは第1図に示し
たネットと同じであるが、第2図においては、コイルG
3.1の上にカーソルが置かれてクロスリファレンス表示
コマンドが入力された後の状態が示されている。画面右
側のコメント表示領域に、クロスリファレンスとして
「RD−10NET」と「WRT−11NET」との二つの信号情報が
表示されている。これにより、G3.1のアドレスが10番の
ネットと11番のネットにおいても使用されていることが
判る。
FIG. 2 shows another display example according to the sequence program editing method of the present invention. Only the first net is shown on the display screen. The net shown in FIG. 2 is the same as the net shown in FIG. 1, but in FIG.
The state after the cursor is placed on 3.1 and the cross-reference display command is input is shown. In the comment display area on the right side of the screen, two signal information of “RD-10NET” and “WRT-11NET” are displayed as cross references. This indicates that the G3.1 address is also used in the 10th net and the 11th net.

このように、数多くの接点またはコイルのうちの任意
のもののクロスリファレンス情報を編集中に即座にしか
も編集作業に用いている表示装置の同一画面上に表示さ
せて、確認しながら編集を進めることが出来る。
In this way, it is possible to display the cross-reference information of any of a large number of contacts or coils immediately during editing and on the same screen of the display device used for editing work, and proceed with editing while checking. I can do it.

尚、本実施例においては、接点のオン/オフ状態を輝
度変更により表示している。すなわち、オン状態の接点
は明るく表示しオフ状態の接点は暗く表示することによ
り、状況の把握を容易にしている。
In this embodiment, the ON / OFF state of the contact is displayed by changing the luminance. That is, the contacts in the ON state are displayed brightly and the contacts in the OFF state are displayed dark, so that the situation can be easily grasped.

第3図に、本発明を実施するためのプログラム作成装
置とPCとのハードウェアのブロック図を示す。図におい
て、1はプログラム作成装置であり、図示しないが、編
集処理および表示処理のためのマイクロプロセッサとRO
MとRAMとを内蔵している。2はCRT表示装置の表示画面
であり、シーケンス・プログラムが表示される。3はフ
ァンクション・キーであり、削除、変更、クロスリファ
レンス表示等のファンクションを指令する。4は操作キ
ーである。
FIG. 3 is a block diagram of hardware of a program creation device for implementing the present invention and a PC. In the figure, reference numeral 1 denotes a program creation device, not shown, and a microprocessor and RO for editing and display processing.
Built-in M and RAM. Reference numeral 2 denotes a display screen of the CRT display device, on which a sequence program is displayed. Reference numeral 3 denotes a function key for instructing functions such as deletion, change, and cross-reference display. Reference numeral 4 denotes an operation key.

10はPC(プログラマブル・コントローラ)であり、11
はPC全体を制御するためのマイクロプロセッサである。
12は入力回路であり、外部からの入力信号を受け、信号
レベルを変換してバスに転送する。13は出力回路であ
り、外部の機械等を制御するための出力信号を外部へ出
力する。
10 is a PC (programmable controller) and 11
Is a microprocessor for controlling the entire PC.
Reference numeral 12 denotes an input circuit which receives an external input signal, converts the signal level, and transfers the signal to a bus. An output circuit 13 outputs an output signal for controlling an external machine or the like to the outside.

14は、プログラム作成装置用インタフェースである。 Reference numeral 14 denotes an interface for a program creation device.

PC10には、メモリとしてROM15とRAM16とが内蔵されて
いる。
The PC 10 includes a ROM 15 and a RAM 16 as memories.

RAM16は外部の機械等の動作を規定するシーケンス・
プログラム19等を格納しており、ROM15はシーケンス・
プログラム19の実行処理を管理するための管理プログラ
ム20を格納している。
RAM 16 is a sequence that defines the operation of external machines, etc.
The program 19 is stored.
A management program 20 for managing the execution process of the program 19 is stored.

プログラム作成装置1は、通信回線18とインタフェー
ス14とを介してバス17に接続されている。
The program creation device 1 is connected to a bus 17 via a communication line 18 and an interface 14.

以上に説明した実施例においては独立形式のPCとプロ
グラム作成装置とを使用したが、本発明のシーケンス・
プログラム編集方式は数値制御装置に内蔵されているPC
とプログラム作成機能とを用いても同様に実施すること
が出来る。
In the embodiment described above, the independent PC and the program creation device are used, but the sequence
The program editing method is a PC built into the numerical controller
The same can be achieved by using the program creation function.

また、上述の実施例においては論理的リレー接点のオ
ン/オフ状態表示を表示画面上の輝度変更により行った
が、色彩を変更することによりオン/オフ状態を表示す
るようにしてもよい。
In the above-described embodiment, the ON / OFF state of the logical relay contact is displayed by changing the luminance on the display screen. However, the ON / OFF state may be displayed by changing the color.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明では、ラダー図に含まれる
数多くの接点およびコイルのうちの任意のもののクロス
リファレンス情報を、編集に使用している表示装置の同
一画面上に即座に表示させるようにしたので、クロスリ
ファレンス一覧表等の従来のソフトウェア資源を一層効
果的な形式のもとで活用することが可能となり、シーケ
ンス・プログラム作成に要する時間を短縮することが出
来る。
As described above, in the present invention, the cross-reference information of any one of the many contacts and coils included in the ladder diagram is immediately displayed on the same screen of the display device used for editing. Therefore, conventional software resources such as a cross-reference list can be used in a more effective format, and the time required to create a sequence program can be reduced.

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

第1図は本発明のシーケンス・プログラム編集方式によ
る表示画面への表示例を示す図、 第2図は本発明のシーケンス・プログラム編集方式によ
る他の表示例を示す図、 第3図は本発明を実施するためのプログラム作成装置と
PCとのハードウェアのブロック図である。 1……プログラム作成装置 2……CRT表示装置の表示画面 3……ファンクションキー 4……操作キー 10……PC(プログラマブル・コントローラ) 11……マイクロプロセッサ 12……入力回路 13……出力回路 14……プログラム作成装置用インタフェース 15……ROM 16……RAM 17……バス 18……通信回線 19……シーケンスプログラム 20……管理プログラム
FIG. 1 is a diagram showing a display example on a display screen according to the sequence program editing method of the present invention, FIG. 2 is a diagram showing another display example according to the sequence program editing method of the present invention, and FIG. And a program creation device for implementing
It is a block diagram of hardware with a PC. 1. Program creation device 2. Display screen of CRT display device 3. Function keys 4. Operation keys 10. PC (programmable controller) 11. Microprocessor 12. Input circuit 13. Output circuit 14. …… Program creation device interface 15 …… ROM 16 …… RAM 17 …… Bus 18 …… Communication line 19 …… Sequence program 20 …… Management program

フロントページの続き (56)参考文献 特開 昭59−125406(JP,A) 特開 昭54−152771(JP,A) 特開 昭62−134726(JP,A)Continuation of the front page (56) References JP-A-59-125406 (JP, A) JP-A-54-152771 (JP, A) JP-A-62-134726 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】表示装置の表示画面上にラダー図形式のシ
ーケンス・プログラムを表示させて編集を進めるPCのシ
ーケンス・プログラム編集方式において、 前記ラダー図の接点及びコイルのうちの任意のもののク
ロスリファレンス情報をプログラム編集中に前記表示画
面上へ表示するようにしたことを特徴とするシーケンス
・プログラム編集方式。
1. A sequence program editing method for a PC in which a sequence program in a ladder diagram format is displayed on a display screen of a display device and editing is performed, wherein a cross reference of any of the contacts and coils of the ladder diagram is provided. A sequence program editing method, wherein information is displayed on the display screen during program editing.
【請求項2】前記接点のオン/オフ状態を前記表示画面
上に併せて表示するようにしたことを特徴とする特許請
求の範囲第1項記載のシーケンス・プログラム編集方
式。
2. The sequence program editing method according to claim 1, wherein the on / off state of the contact is displayed together on the display screen.
JP63167153A 1988-07-05 1988-07-05 Sequence program editing method Expired - Fee Related JP2706472B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63167153A JP2706472B2 (en) 1988-07-05 1988-07-05 Sequence program editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63167153A JP2706472B2 (en) 1988-07-05 1988-07-05 Sequence program editing method

Publications (2)

Publication Number Publication Date
JPH0216603A JPH0216603A (en) 1990-01-19
JP2706472B2 true JP2706472B2 (en) 1998-01-28

Family

ID=15844406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63167153A Expired - Fee Related JP2706472B2 (en) 1988-07-05 1988-07-05 Sequence program editing method

Country Status (1)

Country Link
JP (1) JP2706472B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2611494B2 (en) * 1990-05-25 1997-05-21 日産自動車株式会社 Creating a cross reference in a sequence program
JPH07160312A (en) * 1993-12-08 1995-06-23 Hitachi Ltd Programming device of programmable controller

Also Published As

Publication number Publication date
JPH0216603A (en) 1990-01-19

Similar Documents

Publication Publication Date Title
KR950012071B1 (en) Data processing system
JP2706472B2 (en) Sequence program editing method
JP2561907B2 (en) Numerical control unit
JPH0588832A (en) Operation guide screen displaying method
US5377358A (en) Character processing device adapted to perform document-editing processing and typewriting processing
JPH025102A (en) Input system for pc rudder graphic
JPS6057376A (en) Display control system for electronic computer
JPS6243201B2 (en)
JPH038066A (en) Document processor
JP3000985B2 (en) Numerical control unit
JP3046179B2 (en) Display processing device and display processing method
JPH0585927B2 (en)
JPH05181510A (en) Picture display method for programming device in programmable controller
JP2971251B2 (en) SFC programming device
KR100189925B1 (en) Error display method of mode converting selection for complex device
JPH01244502A (en) Pc program display system
JP2965811B2 (en) Information processing apparatus and display method
JP3416171B2 (en) Graph processing apparatus and method
JPS63282521A (en) Screen display system
JPH052445A (en) Keyboard simulator
JPH0863218A (en) Program constitution display system
WO1992002868A1 (en) Method of editing ladder program
JPH087566B2 (en) CRT display device
JPH03192455A (en) Terminal emulator
JPS60238946A (en) Processing system of snap shot dump

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees