JPS62224805A - Ladder diagram display system for program of sequence programmable controller - Google Patents

Ladder diagram display system for program of sequence programmable controller

Info

Publication number
JPS62224805A
JPS62224805A JP61067535A JP6753586A JPS62224805A JP S62224805 A JPS62224805 A JP S62224805A JP 61067535 A JP61067535 A JP 61067535A JP 6753586 A JP6753586 A JP 6753586A JP S62224805 A JPS62224805 A JP S62224805A
Authority
JP
Japan
Prior art keywords
relay
ladder diagram
display
program
ladder
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
JP61067535A
Other languages
Japanese (ja)
Inventor
Kazunari Nakazono
中園 一成
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 JP61067535A priority Critical patent/JPS62224805A/en
Publication of JPS62224805A publication Critical patent/JPS62224805A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce switching of a picture and improve efficiency of operation by displaying a ladder diagram of other relay including an element that controls on/off of the relay. CONSTITUTION:A command that indicates to display the ladder diagram of a relay in order of a program is inputted from a keyboard 4. Then, a program stored in a memory 3' is read and the following operation is executed. First, an address AAAA is accessed and picture image data of the coil of a relay A stored in a small area 2 of an area ARA that makes AAAA a forefront address are read out and a ladder diagram of the coil of the relay A is displayed on the display face of a CRT 5 for display. Thus, ladder diagrams of other coils not shown in the figure and coils of relays B, C etc. are displayed as far as the size of the display face permits.

Description

【発明の詳細な説明】 〔概 要〕 シーケンスプログラマブルコントローラのプログラムの
ラダーダイヤグラム表示に当夛、シーケンスを制御する
各リレーについて該リレーのラダーダイヤグラム表示に
連続して該リレーのオン・オフを制御する要素を含む他
のリレー(一般には複数個ある。)のラダーダイヤグラ
ムを接近させて、例えば同一画面に、表示させるもので
ちって、プログラムデバッグ時やシステム運転時の障害
診断の際等に表示画面の切換操作を不要とし、操作を簡
単としだものである。
[Detailed Description of the Invention] [Summary] When a ladder diagram of a program of a sequence programmable controller is displayed, each relay that controls the sequence is controlled to be turned on or off in succession to the ladder diagram of the relay. The ladder diagrams of other relays (generally there are multiple) containing the element are displayed close together on the same screen, for example, so that they can be displayed on the screen when debugging programs or diagnosing problems during system operation. This eliminates the need for switching operations and simplifies operation.

〔産業上の利用分野〕[Industrial application field]

本発明ハシ−ケンスプログラマブルコントローラのプロ
グラムのラダーダイヤグラム表示方式、さらに詳しく云
えば、ある一つのラダーダイヤグラム表示に連続して該
リレーのオンオフを制御する要素を含む他のリレーのラ
ダーダイヤグラムを表示すせるシーケンスプログラマブ
ルコントローラのプログラムのラダーダイヤグラム表示
方式に関する。
The ladder diagram display method of the program of the hash sequence programmable controller of the present invention, more specifically, the ladder diagram of another relay containing an element that controls the on/off of the relay is displayed in succession in one ladder diagram display. This invention relates to a ladder diagram display method for a program of a sequence programmable controller.

〔従来の技術〕[Conventional technology]

上記プログラマブルコントローラのプログラムはリレー
回路を表わすラダーダイヤグラムを用い、数値制御装置
や専用プログラミング装置を使い、特殊言語でプログラ
ムされる。数値制御装置や専用プログラミング装置は入
力されたプログ2ムから逆にラダーダイヤグラムをCR
T表示面上に表示することができる。従来は、このCR
T表示面上にはラダーダイヤグラムが、入力された命令
の順に表示されるのみでちった。
The program for the programmable controller is programmed in a special language using a ladder diagram representing a relay circuit, using a numerical control device or a dedicated programming device. Numerical control devices and dedicated programming devices can reversely CR the ladder diagram from the input program 2m.
It can be displayed on the T display screen. Conventionally, this CR
On the T display screen, only a ladder diagram was displayed in the order of input commands.

図を用いて、さらに詳しく説明する。This will be explained in more detail using figures.

第4図は従来の技術によって、上記のプログラムの、プ
ログラムされた順番に表示されたラダーダイヤグラムを
示すものである。
FIG. 4 shows a ladder diagram of the above program displayed in the programmed order according to the prior art.

図において、A、B、C,D・・・等は、それぞれリレ
ーA、B、C,D・・・のコイルを、またsl 、 a
2 、 El 、 Gl 、 HL はリレーE、E、
G、H等に含まれる動作接点を、またCIはリレーCに
含まれる静止接点を表わす。これ等接点はリレーA、B
、C,D・・・等のコイルをオy・オフ制御する要素で
ある。A’ 、B’ 、C’ 、D’はそれぞれリレー
A、B、C,Dが動作したとき発生する信号である。
In the figure, A, B, C, D..., etc. are the coils of relays A, B, C, D..., respectively, and sl, a
2, El, Gl, HL are relays E, E,
CI represents the operating contacts included in G, H, etc., and the stationary contact included in relay C. These contacts are relays A and B
, C, D, etc. are elements that control the on/off state of the coils. A', B', C', and D' are signals generated when relays A, B, C, and D operate, respectively.

この場合、プログラムによりリレーA、D・・・B・・
・Cと図面上の順番に動作して信号A’、D’・・・B
′・・・CI・・・を発生し、シーケンスを制御する。
In this case, depending on the program, relays A, D...B...
・C operates in the order shown in the drawing to generate signals A', D'...B
'...CI... is generated and the sequence is controlled.

上記において、リレーAのコイルについてラダーダイヤ
グラム表示を行なった場合、続いてプログラムの順序に
従って、リレーD・・・リレーB・・・リレーDのコイ
ルについてのラダーダイヤグラムが順次に表示されるの
みである。この際、表示画面の大きさは限られているの
で一つの画面には、ラダーダイヤグラムは高々2〜4個
位表示されるに過ぎない。
In the above, when a ladder diagram is displayed for the coil of Relay A, the ladder diagrams for the coils of Relay D, Relay B, and Relay D are displayed sequentially in accordance with the program order. . At this time, since the size of the display screen is limited, only two to four ladder diagrams can be displayed on one screen.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の従来のプログラムのシーケンシャルラダーダイヤ
グラム表示方式では、1つのリレーをオン・オフさせる
条件(リレー)が多い場合、これ等の各条件の状況を見
るために、画面を切り換える操作が多くなり、また、一
つの画面では多くの条件を同時に見ることが難しく、ま
た一画面では見得る情報が少く従って、プログラムのデ
パック、あるいは実際のシステムにロードした場合の動
作の確認や障害の診断等において、画面切換えの頻度が
多くなシ、操作が面倒となり、有効でないことがあると
いう問題があった。
In the sequential ladder diagram display method of the conventional program described above, when there are many conditions (relays) that turn one relay on and off, it becomes necessary to switch screens in order to see the status of each of these conditions. It is difficult to view many conditions at the same time on one screen, and there is little information that can be viewed on one screen. There is a problem in that the frequency of switching is high, the operation becomes troublesome, and it may not be effective.

第4図についてさらに詳しく説明すればリレーAの状態
(動作あるいは不動作)を決定する要素Bl 、 cl
を含むリレーBおよびリレーCのラダーダイヤグラムは
、第4図のリレーAのラダーダイヤグラムのずっと遠い
位置にあり同一画面に表示するには、画面の切換えを行
なう必要があり、このために操作が面倒となる。
To explain FIG. 4 in more detail, the elements Bl, cl that determine the state (operation or non-operation) of relay A
The ladder diagrams of Relay B and Relay C, including the above, are located far away from the ladder diagram of Relay A in Figure 4, and in order to display them on the same screen, it is necessary to switch screens, which makes the operation cumbersome. becomes.

本発明は、1個のリレー、例えばリレーA1のラダーダ
イヤグラムに1 リレーAの状態を決定する要素を含む
リレーのラダーダイヤグラムを連続させかつ近接させ表
示し、例えば上記の複数個のラダーダイヤグラムを同一
の画面に表示させ、画面の切換えを少くし操作を簡単容
易とすることを目的とするものである。
The present invention displays relay ladder diagrams including elements that determine the state of one relay A in succession and close to the ladder diagram of one relay, for example, relay A1, so that, for example, the plurality of ladder diagrams described above are displayed in the same manner. The purpose of this is to reduce the number of screen changes and to simplify operations.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によれば、プロセッサ、メモリおよび表示用CR
Tと該CRT制御装置を含み、上記メモリに格納された
画像データによ)上記表示用CRT′に表示を行なう表
示装置を具備し、上記メモリに、シーケンスプログラマ
ブルコントローラのプログラムにおいてシーケンスを制
御する各リレーについて該リレーのラダーダイヤグラム
表示用の画像データと、該画像データの格納領域に関連
する領域に該リレーのオンオフを制御する要素を含む他
のリレーのラダーダイヤグラム表示用の画像データの格
納されているアドレスを指定するデータとを格納し、あ
る一つのリレーのラダーダイヤグラム表示に連続して上
記アドレスに基き、該リレーのオンオフを制御する要素
を含む他のリレーのラダーダイヤグラムを表示させるこ
とにより、上記の問題点を解決し、かつ上記の目的を達
することができる。
According to the present invention, a processor, a memory and a display CR
and a display device for displaying on the display CRT' (based on image data stored in the memory); Regarding the relay, image data for displaying a ladder diagram of the relay, and image data for displaying the ladder diagram of other relays including elements for controlling on/off of the relay are stored in an area related to the storage area of the image data. By storing the data specifying the address of the relay, and displaying the ladder diagram of one relay, the ladder diagram of another relay including the element for controlling the on/off of the relay is displayed based on the address. The above problems can be solved and the above objectives can be achieved.

〔作 用〕[For production]

シーケンスプログラマブルコントローラのプログラムの
ラダーダイヤグラム表示に当シ、シーケンスを制御する
各リレーについて該リレーのオンオフを制御する要素を
含む他のリレー(一般には複数個ある。)のラダーダイ
ヤグラムを、上記リレーのラダーダイヤグラムに連続し
接近させて狭い範囲、例えば同一画面に表示させるもの
であって、上記リレーの接続が正しいか否かを一目瞭然
とさせ、プログラムデバッグ時やシステム運転時の障害
診断の際等に表示画面の切換操作の頻度を極めて少なく
するものである。
To display the ladder diagram of the program of the sequence programmable controller, for each relay that controls the sequence, display the ladder diagram of other relays (generally there are multiple) that include elements that control the on/off of the relay, as well as the ladder diagram of the above relay. It is displayed in a narrow area, for example on the same screen, in close proximity to the diagram, making it clear at a glance whether the connection of the above relay is correct or not, and is displayed when debugging a program or diagnosing a problem during system operation. This greatly reduces the frequency of screen switching operations.

〔実施例〕〔Example〕

以下、本発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明を実施したプログラムコントローラのラ
ダーダイヤグラム表示に関連する部分のブロック図であ
る。図において、1はプロセッサ(CPU)、2は読み
出し専用メモリ(ROM)、3はメモリ(MgM)、4
はキーボード(KB)、 5は表示用CRT、6は表示
用CRT 5の制御装置、7は上記各装置間を接続する
バスである。シーケンスのプログラマブルコントローラ
としては第1図のような処理システムの外にシーケンス
を制御する装置との間のインタフェース装置やプログラ
ミング装置些 等が必要であるが本発明の理解は関係がないので第1図
には省略する。
FIG. 1 is a block diagram of a portion related to ladder diagram display of a program controller embodying the present invention. In the figure, 1 is a processor (CPU), 2 is a read-only memory (ROM), 3 is a memory (MgM), and 4
5 is a keyboard (KB), 5 is a display CRT, 6 is a control device for the display CRT 5, and 7 is a bus connecting the above devices. As a sequence programmable controller, an interface device and a programming device between the processing system and the device that controls the sequence as shown in FIG. 1 are required, but these are not relevant to the understanding of the present invention, so FIG. is omitted.

図においてメモリ2には第2図に示す内容のプログラム
が格納されている。ここに第2図は本発明に使用するプ
ログラムの内容を示す図である。
In the figure, a program with the contents shown in FIG. 2 is stored in the memory 2. FIG. 2 is a diagram showing the contents of a program used in the present invention.

第2図においてARA、・・・A7?B・・・ARoは
それぞれリレーA、B、Cに関する情報を格納している
メモリ2の領域である。これ等領域はそれぞれさらに小
領域1.2.3に分割され、小領域1にはそれぞれリレ
ー A、B、Cのコイルを動作させるプログラムが、ま
た小領域2にはリレーA、B、C等のコイルのラダーダ
イヤグラム表示用の画像データを、さらに小領域3には
リレーA、B、C等の状態を決定する要素を含む他のリ
レーの情報が格納されているアドレスを指定するデータ
として領域(ARh 、ARm 、A&)・・・等)の
先頭のアドレスが格納されている。図においてAAAA
、 BBBB、 CCCC等は領域ARAARa AR
a等の先頭のアドレスである。
In Figure 2, ARA,...A7? B...ARo are areas of the memory 2 that store information regarding relays A, B, and C, respectively. Each of these areas is further divided into subareas 1, 2, and 3, and subarea 1 contains programs that operate the coils of relays A, B, and C, and subarea 2 contains programs that operate relays A, B, C, etc. Image data for displaying a ladder diagram of the coil is further stored in a small area 3 as data specifying addresses where information on other relays including elements that determine the status of relays A, B, C, etc. is stored. (ARh, ARm, A&), etc.) is stored. AAAA in the figure
, BBBB, CCCC, etc. are the areas ARAARa AR
This is the first address of a, etc.

□□□) シーケンスの制御を行なう場合第1図におい
てキーボード4からシーケンス制御の実行を指示するコ
マンドを入力する。そうすると読み出し専用メモリ2中
の管理プログラムによりメモリ3に格納された第2図の
内容のプログラムを読み取って、次のような動作を実行
する。
□□□) When performing sequence control, a command instructing execution of sequence control is input from the keyboard 4 in FIG. Then, the management program in the read-only memory 2 reads the program shown in FIG. 2 stored in the memory 3, and executes the following operations.

まず、AAAAを先頭アドレスとする領域ARAの小領
域1に格納されているリレーAを動作させるプログラム
を読み出して、リレーAを動作させ信号A′〔第4図参
照〕を送出する。このプログラムの実行が終了し、リレ
ーAが復旧すれば、次のプログラムすなわち図示しない
次のアドレスDDDDに行き、リレーDを動作させ、信
号D′を送る・プログラムを実行する。このようにして
・・・リレーB。
First, a program for operating relay A stored in small area 1 of area ARA with AAAA as the top address is read out, relay A is operated, and signal A' (see FIG. 4) is sent out. When the execution of this program is completed and relay A is restored, the program goes to the next program, that is, the next address DDDD (not shown), operates relay D, sends signal D', and executes the program. In this way...Relay B.

・・・リレーC・・・を動作させるプログラムを順次に
実行して信号A/、 vl・・・B′・・・C′・・・
を順次に発生させシーケンス制御を行なう。
...Sequentially execute a program that operates relay C... to generate signals A/, vl...B'...C'...
are generated sequentially to perform sequence control.

(6)  従来の表示方式の場合、すなわち、プログラ
ムの順にリレーのラダーダイヤグラムを表示する場合、 第1図において、キーボード4から、プログラムの順に
リレーのラダーダイヤグラムを表示させることを指示す
るコマンドを入力する。そうすると前記(α)の場合と
同様にして、メそり3に格納された第2図の内容のプロ
グラムを読み取って次のような動作を実行する。
(6) In the case of the conventional display method, that is, when displaying the relay ladder diagram in the order of the program, in Figure 1, enter a command from the keyboard 4 to instruct the display of the relay ladder diagram in the order of the program. do. Then, in the same manner as in case (α) above, the program having the contents shown in FIG. 2 stored in memory 3 is read and the following operations are executed.

まず、アドレスAAAAをアクセスし、AAAAを先頭
アドレスとする領域ARAの小領域2に格納されている
リレーAのコイルの画像データを読み出し、表示用cy
 s (第1図)の表示面にリレーAのコイルの2グ一
ダイヤグラム表示を行なう。
First, address AAAA is accessed, image data of the coil of relay A stored in small area 2 of area ARA with AAAA as the first address is read out, and the image data of the coil of relay A is read out.
A 2-g diagram of the coil of relay A is displayed on the display screen of s (Fig. 1).

同様にしてプログラムの次の位置に格納されているリレ
ーDのコイル(第2図には明示されていない。)K関し
てラダーダイヤグラム表示を行なう。
Similarly, a ladder diagram is displayed regarding the coil K of the relay D (not clearly shown in FIG. 2) stored at the next position in the program.

このようにして、表示面の大きさが許す限シリレーA、
Dのコイルよりその他の図示していないリレーのコイル
およびリレーB・・・リレーC・・・等のコイルのラダ
ーダイヤグラム表示を行なう。この際コイルはプログラ
ムの順に表示される。第3図ら)はこの場合の表示面の
表示状態を示すが、これは従来のものであシ、第4図と
同一である。
In this way, as much as the display screen size allows, the series A,
Ladder diagrams of coils of other relays (not shown) and coils of relays B, C, etc. are displayed from the coil D. At this time, the coils are displayed in the order of the program. 3) show the display state of the display surface in this case, but this is a conventional display and is the same as FIG. 4.

この場合、リレーAに着目した場合、リレーAのコイル
のオンオフを制御するリレーB、Cは、プログラム上、
ずっと離れたところに存在するので、リレーAのコイル
のラダーダイヤグラムと、リレー B、Cのコイルのラ
ダーダイヤグラムとを同一画面に表示することはできず
、リレーAのコイルの回路をチェックする場合いちいち
画面の切換えを行なう必要がある。
In this case, when focusing on relay A, relays B and C that control the on/off of the coil of relay A are programmed as follows:
Because they are located far apart, it is not possible to display the ladder diagram of relay A's coil and the ladder diagrams of relays B and C on the same screen, so when checking the circuit of relay A's coil, it is not possible to display the ladder diagram of relay A's coil and the ladder diagram of relay B and C's coils on the same screen. It is necessary to change the screen.

(c)  本発明による表示の場合、すなわち、1つの
リレーのラダーダイヤグラムとともに、該リレーをオン
オフ制御する要素を含む他のリレーのラダー・ダイヤグ
ラムを同一表示面に連続して表示する場合、 上記の表示を指示するコマンドをキーボード4から入力
する。そうすると、前記((L)、(6)の場合と同様
にして、メモリ3に格納された第2図の内容のプログラ
ム読み取って次のような動作を実行する。
(c) In the case of a display according to the present invention, that is, when a ladder diagram of one relay and a ladder diagram of another relay including elements for controlling on/off of the relay are displayed consecutively on the same display screen, the above-mentioned A command for instructing display is input from the keyboard 4. Then, in the same manner as in the cases of ((L) and (6)), the program of the contents shown in FIG. 2 stored in the memory 3 is read and the following operations are executed.

まず、上記コマンドと共にリレーAを指定すれば、アド
レスAAAAをアクセスし、A′AAAを先頭アドレス
とする領域uAの小領域2に格納されているリレーAの
コイルの画像データを読み出し表示用CRT (第1図
の5)の表示面にリレーAのコイルのラダーダイヤグラ
ムの表示を行なう。この場合リレーAのコイルは、第3
図(cL)に示すようにリレーBに含まれる要素Bl(
動作接点)とリレーCに含まれる要素CI(静止接点)
とによジオン・オフ制御され、そのため、領域ARhの
小領域3に、リレーBおよびリレーCの情報を貯えてい
る領域ARB、AR,の先頭アドレスBEBBおよびc
cccを格納している。この場合、上記アドレスデータ
BBBBおよびCCCCからリレーAのオンオフ制御す
る要素を含む他のリレーのラダーダイヤグラム表示用の
画像データの格納されている領域(小領域2)のアドレ
スを指定することができる。
First, if relay A is specified with the above command, address AAAA is accessed, and image data of the coil of relay A stored in small area 2 of area uA with A'AAA as the first address is read out and displayed on the CRT ( A ladder diagram of the coil of relay A is displayed on the display screen 5) in FIG. In this case, the coil of relay A is
As shown in figure (cL), element Bl (
operating contact) and element CI included in relay C (stationary contact)
Therefore, in small area 3 of area ARh, the start addresses BEBB and c of areas ARB and AR, which store information about relays B and C, are
ccc is stored. In this case, the address of the area (small area 2) where image data for displaying the ladder diagram of other relays including the element for on/off control of relay A is stored can be specified from the address data BBBB and CCCC.

リレーAのコイルのラダーダイヤグラム表示を行なった
後、領域18人の小領域3からリレーBに関する情報を
貯えている領域ARBの先頭アドレスBBBEを読み取
シ、これに基いて該領域ARsの小領域2をアクセスし
て、該小領域2に貯蔵されているリレーBのコイルの回
路に関する画像データ読み出して該コイルのラダーダイ
ヤグラムを表示用Cn5の表示面において、リレーAの
コイルのラダーダイヤグラムに連続して表示する。
After displaying the ladder diagram of the coil of relay A, read the start address BBBE of the area ARB that stores information about relay B from the small area 3 of 18 people, and based on this, read the start address BBBE of the area ARB that stores information about relay B. , read out the image data regarding the circuit of the coil of relay B stored in the small area 2, and display the ladder diagram of the coil on the display screen of the display Cn5, following the ladder diagram of the coil of relay A. indicate.

その後、上記と同様にリレーCに関する情報を貯えてい
る領域ARaの先頭アドレスCCCCを読み取シ、これ
に基いて、該領域ARc3の小領域2をアクセスして該
小領域2に貯蔵されているリレーCのコイルの回路に関
する画像データを読み出してリレーCのコイルのラダー
ダイヤグラムを表示用(JT’ 5の表示面においてリ
レーAおよびリレーBのコイルのラダーダイヤグラムに
連続して表示する。このようにしてリレーAのコイルの
ラダーダイヤグラムに近接して、リレーAのオンオフを
制御する要素を含む他のリレー(B、C)のラダーダイ
ヤグラムを同一画面に表示することができる。
After that, in the same way as above, read the start address CCCC of the area ARa that stores information about the relay C, and based on this, access the small area 2 of the area ARc3 and relay the information stored in the small area 2. The image data regarding the circuit of the coil of relay C is read out and the ladder diagram of the coil of relay C is displayed for display (displaying the ladder diagram of the coils of relay A and relay B consecutively on the display screen of JT'5. In this way, In proximity to the coil ladder diagram of relay A, ladder diagrams of other relays (B, C) including elements for controlling on/off of relay A can be displayed on the same screen.

第3図は、従来性なってきたリレーのプログラム順にラ
ダーダイヤグラムを表示すること〔前記(b)〕と本発
明によるある特定リレーをオン・オフ制御する要素を含
む1個あるいは複数個のリレーのラダーダイヤグラムと
上記特定リレーのラダーダイヤグラムとを同一画面に表
示すること〔前記(C)〕とを比較して説明するための
図である。第3図(a)は前記の表示〔前記(b)〕を
、第3図(b)は後者の表示〔前記(C)〕を示してい
る。
FIG. 3 shows the display of a ladder diagram in the order of the conventional relay programs [(b) above] and the display of one or more relays including elements for on/off control of a particular relay according to the present invention. FIG. 6 is a diagram for comparing and explaining displaying the ladder diagram and the ladder diagram of the specific relay on the same screen [above (C)]. FIG. 3(a) shows the above display [(b)], and FIG. 3(b) shows the latter display [(C)].

本発明によれば、第3図(6)に示すようにリレーAの
ラダーダイヤグラムとリレーAをオンオフする要素を含
むリレーBおよびCのラダーダイヤグラムを同一画面(
点線で示す)に表示することができる。
According to the present invention, as shown in FIG. 3(6), the ladder diagram of relay A and the ladder diagrams of relays B and C including elements for turning on and off relay A can be displayed on the same screen (
(indicated by a dotted line).

第2図から容易に判明するように、リレーBおよびCの
ラダーダイヤグラムを表示後、さらに連続してリレーA
に間接的に関連するリレーGおよびリレーHのラダーダ
イヤグラムを表示することができる。すなわち1つのリ
レーから関連するリレーの画像データをツリー状に連続
して取シ出すことができる。
As can be easily seen from Figure 2, after displaying the ladder diagram of relays B and C, relay A
A ladder diagram of relays G and H that are indirectly related to can be displayed. That is, image data of related relays can be extracted continuously in a tree shape from one relay.

なおリレーAと異なるリレーに関する情報を得たいとき
は、必要とするリレーを指定する情報と上記コマンドと
をキーボード4から入力することにより、上記リレーA
に対するのと同様に必要とするリレーのラダーダイヤグ
ラムと該必要とするリレーのオンオフを制御する要素を
含むリレーのラダーダイヤグラムとを連続して同一画面
に表示させることができる。
If you want to obtain information about a relay different from relay A, enter the information specifying the required relay and the above command from the keyboard 4.
Similarly, the ladder diagram of the required relay and the ladder diagram of the relay including elements for controlling the on/off of the required relay can be displayed consecutively on the same screen.

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

本発明は上記のように構成されているので、シーケンス
のプロクラマプルコントローラのプログラムにおいて、
1つのコイル(リレー等の)を基準にして、そのラダー
ダイヤグラム中にあって、上記コイルのオンオフを制御
する要素(接点)を含むリレーのコイルの回路を、上記
基準としたコイルのラダーダイヤグラムと同一画面にラ
ダーダイヤグラム表示することが可能であるので、プロ
グラムデバッグ時やシステム運転時の障害診断の際の画
面切換操作が不要となシ、操作が簡単容易となる効果が
ある。
Since the present invention is configured as described above, in the sequence programmaple controller program,
With one coil (such as a relay) as a reference, the circuit of the relay coil that is in the ladder diagram and includes the elements (contacts) that control the on/off of the coil is the ladder diagram of the coil with the above reference as the reference. Since the ladder diagram can be displayed on the same screen, there is no need to switch screens when debugging a program or diagnosing a fault during system operation, and the operation becomes simple and easy.

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

第1図は本発明を実施したプログラムコントローラのラ
ダーダイヤグラム表示に関連する部分のブロック図、 第2図は本発明に使用するプログラムの内容を示す図、 第5図は本発明における表示用CRTの表示面における
ラダーダイヤグラム表示を示す図、第4図は従来の技術
によるプログラム順のラダーダイヤグラム表示を示す図
である。 1・・・プロセッサ、 2・・・読み出し専用メモリ 3・・・メモリ 4・・・キーボード 5・・・表示用CRT 6・・・表示用CRT制御装置 7・・・パス A、B、C,D・・・等・・・リレーA、B、C,D・
・・等のコイル Bl 、 B2 、 cl 、 Gl 、 Hl 、、
、リレーE、C,II、H等の接点A’、 E’ 、 
C’・・・信号 特許出願人  ファナック株式会社 代理人 弁理士 玉蟲久五部(外2名)本発明t!実施
したプログラムコントローラのラダーダイヤグラム表示
に関連する部分のブロック図第10 番地    内    容      領 η本発明j
;使用するプログラムの内容E示す9第2図 従来と同様の6の          本発明のもの(
G)                (b)本発明に
おける表示用CRTの表示面におけるう9−ダイヤグラ
ム表示を示す図 第 3 口
FIG. 1 is a block diagram of the part related to ladder diagram display of a program controller implementing the present invention, FIG. 2 is a diagram showing the contents of a program used in the present invention, and FIG. 5 is a diagram of a display CRT according to the present invention. FIG. 4 is a diagram showing a ladder diagram display in the order of programs according to the prior art. DESCRIPTION OF SYMBOLS 1...Processor 2...Read-only memory 3...Memory 4...Keyboard 5...Display CRT 6...Display CRT control device 7...Paths A, B, C, D...etc...Relays A, B, C, D.
Coils Bl, B2, cl, Gl, Hl, etc.
, contacts A', E' of relays E, C, II, H, etc.
C'...Signal patent applicant Fanuc Co., Ltd. agent Patent attorney Gobe Tamamushi (2 others) This invention t! Block diagram of the part related to the ladder diagram display of the implemented program controller No. 10 Contents Area ηThis invention j
;Contents of the program to be usedE9 Figure 2 shows the same as the conventional 6 Invention of the present invention (
G) (b) Figure 3 showing the diagram display on the display surface of the display CRT in the present invention

Claims (1)

【特許請求の範囲】 プロセッサ、メモリおよび表示用CRTと該CRT制御
装置を含み、上記メモリに格納された画像データにより
上記表示用CRTに表示を行なう表示装置を具備し、 上記メモリに、シーケンスプログラマブルコントローラ
のプログラムにおいてシーケンスを制御する各リレーに
ついて該リレーのラダーダイヤグラム表示用の画像デー
タと、該画像データの格納領域に関連する領域に該リレ
ーのオンオフを制御する要素を含む他のリレーのラダー
ダイヤグラム表示用の画像データの格納されているアド
レスを指定するデータを格納し、 ある一つのリレーのラダーダイヤグラム表示に連続して
上記アドレスに基き、該リレーのオンオフを制御する要
素を含む他のリレーのラダーダイヤグラムを表示させる
ことを特徴とするシーケンスプログラマブルコントロー
ラのプログラムのラダーダイヤグラム表示方式。
[Scope of Claims] A display device including a processor, a memory, a display CRT, and a CRT control device, and displays on the display CRT based on image data stored in the memory, and a sequence programmable device in the memory. Image data for displaying a ladder diagram of each relay that controls the sequence in the controller program, and ladder diagrams of other relays that include elements for controlling on/off of the relay in an area related to the storage area of the image data. Stores data specifying the address where the image data for display is stored, and continuously displays the ladder diagram of one relay, and based on the address, displays other relays including elements that control on/off of the relay. A ladder diagram display method for a program of a sequence programmable controller characterized by displaying a ladder diagram.
JP61067535A 1986-03-26 1986-03-26 Ladder diagram display system for program of sequence programmable controller Pending JPS62224805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61067535A JPS62224805A (en) 1986-03-26 1986-03-26 Ladder diagram display system for program of sequence programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61067535A JPS62224805A (en) 1986-03-26 1986-03-26 Ladder diagram display system for program of sequence programmable controller

Publications (1)

Publication Number Publication Date
JPS62224805A true JPS62224805A (en) 1987-10-02

Family

ID=13347768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61067535A Pending JPS62224805A (en) 1986-03-26 1986-03-26 Ladder diagram display system for program of sequence programmable controller

Country Status (1)

Country Link
JP (1) JPS62224805A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0235503A (en) * 1988-07-26 1990-02-06 Okuma Mach Works Ltd Searching method for relay coil in ladder diagram display
WO1991017489A1 (en) * 1990-05-10 1991-11-14 Fanuc Ltd Method of searching sequence program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5530725A (en) * 1978-08-23 1980-03-04 Omron Tateisi Electronics Co Order retrieving system for sequence controller
JPS58155414A (en) * 1982-03-11 1983-09-16 Fanuc Ltd Ladder diagram displaying system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5530725A (en) * 1978-08-23 1980-03-04 Omron Tateisi Electronics Co Order retrieving system for sequence controller
JPS58155414A (en) * 1982-03-11 1983-09-16 Fanuc Ltd Ladder diagram displaying system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0235503A (en) * 1988-07-26 1990-02-06 Okuma Mach Works Ltd Searching method for relay coil in ladder diagram display
WO1991017489A1 (en) * 1990-05-10 1991-11-14 Fanuc Ltd Method of searching sequence program

Similar Documents

Publication Publication Date Title
JPS59205605A (en) Sequence controller
JPH0337202B2 (en)
JP2644917B2 (en) Process monitoring system and window display method
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller
JP2653346B2 (en) Programmable controller
JPH01199212A (en) Control system for operating procedure of interactive display device
JPS6236563B2 (en)
JP4527828B2 (en) Screen data creation device, screen data creation method, and recording medium recording screen data creation processing program
JPS6180306A (en) Data input unit of numerical control device
JPH046005B2 (en)
JP2003015708A (en) Sequence control method, program for allowing computer to execute the method, method for manufacturing sequence control circuit, and program for allowing computer to execute the method
JP2969271B2 (en) Screen switching device
JPH01236309A (en) Display device for numerical controller
JP3123720B2 (en) Programming method and programming device for programmable controller
JPH04284508A (en) Screen display device for robot
JPS58105302A (en) Illustrating programming device of programmable controller
JPS58132809A (en) Programmable controller
JPS6236569B2 (en)
JPS59180705A (en) Sequence controlling device
JPH0373001B2 (en)
JPH0566934A (en) Programming device for programmable controller
JPS6236568B2 (en)
JPH0371207A (en) Numerical controller
JPH0644163A (en) Line switching system
JPS595312A (en) Monitor device of sequence controller