JPH1031508A - Device and method for debugging - Google Patents

Device and method for debugging

Info

Publication number
JPH1031508A
JPH1031508A JP18789096A JP18789096A JPH1031508A JP H1031508 A JPH1031508 A JP H1031508A JP 18789096 A JP18789096 A JP 18789096A JP 18789096 A JP18789096 A JP 18789096A JP H1031508 A JPH1031508 A JP H1031508A
Authority
JP
Japan
Prior art keywords
contact
displayed
button
control device
image
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.)
Granted
Application number
JP18789096A
Other languages
Japanese (ja)
Other versions
JP3350717B2 (en
Inventor
Yoriyuki Okochi
頼行 大河内
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=16213992&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH1031508(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP18789096A priority Critical patent/JP3350717B2/en
Publication of JPH1031508A publication Critical patent/JPH1031508A/en
Application granted granted Critical
Publication of JP3350717B2 publication Critical patent/JP3350717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To arranging contact buttons so that an operation image of an actual machine accompanies them when a sequence program is debugged by simulation. SOLUTION: An image data read part 1 reads in image data. A screen control part 3 controls the whole screen and is equipped with an image display part 31 and a contact button display part 32. Then an image display part 31 is so constituted as to draw the image data, read in by the image read part 1 and stored in an image data storage part 2, on the CRT screen, and the contact button display part 32 is so constituted as to display contact buttons at specific places on an image drawing of a control equipment system displayed on the CRT screen by the image display part 31.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラ(以下、PLCという)を稼働させるシーケ
ンスプログラム上のバグを検出するデバック装置および
デバック方法に関する。
The present invention relates to a debugging device and a debugging method for detecting a bug in a sequence program for operating a programmable controller (hereinafter, referred to as a PLC).

【0002】[0002]

【従来の技術】PLCは、制御対象機器の状態を検出す
る各種のセンサからの出力情報(開放状態かまたは閉状
態か)に基づき、予め記憶されたシーケンスプログラム
に従って、制御機器を制御している。
2. Description of the Related Art A PLC controls a control device in accordance with a sequence program stored in advance based on output information (open or closed) from various sensors for detecting the state of a device to be controlled. .

【0003】このようなシーケンスプログラムは、プロ
グラマが必要な場合には、図14に示すようなラダーチ
ャートを参照して直にコーディングして作成されるか、
または、プログラム支援装置がすでに作成されているラ
ダーチャートから直に作成される。
When a programmer is required, such a sequence program is created by directly coding with reference to a ladder chart as shown in FIG.
Alternatively, the program support device is created directly from the already created ladder chart.

【0004】このようにして作成された、シーケンスプ
ログラムは、一般的にはバグを含んでおり、バグを含ん
だシーケンスプログラムを実際の制御機器システムの制
御に使用するのは、誤動作および事故等による欠陥製品
の発生のみならず安全性においても大変危険である。
[0004] The sequence program created in this way generally contains a bug, and the use of the sequence program containing the bug for actual control of the control device system is due to malfunction or accident. It is very dangerous not only for defective products but also for safety.

【0005】従って、作成したシーケンスプログラム
は、実際の制御機器システムに搭載させる前に、各制御
機器が正常に動作する否かを予めシュミレーションし
て、このプログラムに潜むバグを予め検証する必要があ
る。
Therefore, it is necessary to simulate whether or not each control device operates normally before installing the created sequence program in an actual control device system, and to verify in advance a bug hidden in the program. .

【0006】上述したシーケンスプログラムのバグを検
証する装置には、従来からデバック装置(デバッガ)が
存在し、このデバック装置は、PLCに接続されてお
り、CRTには、図15に示すように、制御機器の入出
力接点に対して起動(ON/OFF)を駆ける接点ボタ
ン101が必要数だけ備えたスイッチボックス10が表
示されている。
As a device for verifying a bug in the above-mentioned sequence program, a debug device (debugger) has conventionally been provided. This debug device is connected to a PLC, and a CRT has a structure as shown in FIG. A switch box 10 having a required number of contact buttons 101 for starting (ON / OFF) the input / output contacts of the control device is displayed.

【0007】このデバック装置は、このスイッチボック
スの中の所望の接点ボタン101を、例えばマウスデで
クリックされると、PLCの入力接点がONになり、セ
ンサ等の代わりに模擬的な入力信号を与えて入力接点状
態を変更させるとともに、これに応じた出力接点の変化
状態を接点ボタン101にONとして表示させること
で、模擬的に制御機器システムを稼働させ、シーケンス
プログラムに潜むバクを検査するようになっている。
In this debug device, when a desired contact button 101 in the switch box is clicked, for example, with a mouse, the input contact of the PLC is turned on and a simulated input signal is given instead of a sensor or the like. By changing the state of the input contact and changing the state of the output contact according to this to be displayed as ON in the contact button 101, the control device system is operated in a simulated manner, and the fact that the sequence program is hidden is inspected. Has become.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のデバック装置では、上述したスイッチボック
ス10から該当する接点ボタン101をクリック等して
起動を駆けて、その起動に対する出力状態が、再びスイ
ッチボックス10上の接点ボタン101で表示されるよ
うになっているので、起動を駆けられた入出力接点の制
御機器システムに対する配置イメーが湧かず、このた
め、動作状況を把握することは大変困難であるという問
題点があった。
However, in such a conventional debugging device, when the corresponding contact button 101 is clicked from the above-mentioned switch box 10 to start the operation, the output state corresponding to the start is switched again. Since it is displayed by the contact button 101 on the box 10, there is no image of the arrangement of the input / output contacts that have been started up in the control device system. Therefore, it is very difficult to grasp the operation status. There was a problem.

【0009】そこで、本発明は上述の問題点に鑑み、シ
ーケンスプログラムをシュミレーションを行ってデバッ
クする際し、制御機器システムの実機動作イメージを伴
ように接点ボタンを配置したデバック装置およびデバッ
ク方法を提供することを目的とする。
In view of the above-mentioned problems, the present invention provides a debugging device and a debugging method in which, when a sequence program is simulated and debugged, contact buttons are arranged so as to accompany an actual operation image of a control device system. The purpose is to do.

【0010】[0010]

【課題を解決するための手段】上述の目的を達成するた
めに、本発明は、請求項1記載の発明は、制御機器シス
テムを制御するシーケンスプログラムのバグを検出する
デバック装置において、前記制御機器システムのイメー
ジ図を表示するイメージ図表示手段と、このイメージ図
表示手段により表示された前記制御機器システムのイメ
ージ図中に接点ボタンを表示する接点ボタン表示手段と
を具備することを特徴とする。
According to a first aspect of the present invention, there is provided a debug device for detecting a bug in a sequence program for controlling a control device system, the control device comprising: It is characterized by comprising image diagram display means for displaying an image diagram of the system, and contact button display means for displaying a contact button in the image diagram of the control device system displayed by the image diagram display means.

【0011】請求項2記載の発明は、請求項1記載の発
明において、前記イメージ図に表示された接点ボタンに
対応した接点の状態を変更させる接点状態変更手段を有
することを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, a contact state changing means for changing a state of a contact corresponding to the contact button displayed on the image diagram is provided.

【0012】請求項3記載の発明は、請求項1記載の発
明において、前記制御機器システムのイメージ図が、制
御機器システムの全体または必要に応じて分割された部
分を描画した手書きの図面,写真,イラストをイメージ
スキャナーで読み込んだものや、CADの図面データ等
のように直に画面上に表示したものであることを特徴と
する。
According to a third aspect of the present invention, in the first aspect of the present invention, the image of the control device system is a hand-drawn drawing, a photograph, or the like in which the entire control device system or a portion divided as necessary is drawn. It is characterized in that the illustration is read by an image scanner or directly displayed on a screen such as CAD drawing data.

【0013】請求項4記載の発明は、請求項1または2
記載の発明において、前記接点ボタン表示手段が、前記
制御機器システムのイメージ図に表示された接点ボタン
の一覧とともに、この表示された接点ボタンに対する接
点のタイミングチャートを表示させるタイミングチャー
ト表示ボタンを表示することを特徴とる。
The invention according to claim 4 is the first or second invention.
In the invention described in the above, the contact button display means displays a timing chart display button for displaying a timing chart of contacts for the displayed contact button, together with a list of contact buttons displayed in an image diagram of the control device system. Features.

【0014】請求項5記載の発明は、請求項1または2
記載の発明において、前記接点ボタン表示手段が、前記
制御機器システムのイメージ図に表示された接点ボタン
の一覧,この表示された接点ボタンに対する接点のタイ
ミングチャートを表示させるタイミングチャート表示ボ
タン,および各制御機器に対応する接点ボタンに対して
順次起動をかけるクラス状態ボタンを有することを特徴
とする。
According to a fifth aspect of the present invention, there is provided the first or second aspect.
In the invention described in the above, the contact button display means includes a list of contact buttons displayed on an image diagram of the control device system, a timing chart display button for displaying a timing chart of a contact for the displayed contact button, and each control device. Is characterized by having a class state button for sequentially activating the contact buttons corresponding to.

【0015】請求項6記載の発明は、請求項1乃至5記
載のいずれか発明において、前記接点ボタンには、接点
番号,コメントおよび接点の種類を有することを特徴と
する。
According to a sixth aspect of the present invention, in any one of the first to fifth aspects of the present invention, the contact button has a contact number, a comment, and a contact type.

【0016】請求項7記載の発明は、請求項6記載の発
明において、前記接点ボタン中のコメントを消去するコ
メント消去手段とを有することを特徴とする。
According to a seventh aspect of the present invention, in the sixth aspect, a comment erasing means for erasing a comment in the contact button is provided.

【0017】請求項8記載の発明は、制御機器システム
を制御するシーケンスプログラムのバグを検出するデバ
ック方法において、前記制御機器システムのイメージ図
上を表示し、表示された前記制御機器システムのイメー
ジ図に接点ボタンを表示し、前記イメージ図に表示され
た接点ボタンの表示を変更して、接点ボタンに対応した
接点状態を変更させることを特徴とする。
According to an eighth aspect of the present invention, in a debugging method for detecting a bug in a sequence program for controlling a control device system, an image of the control device system is displayed on the image diagram of the control device system, and a contact is made with the displayed image of the control device system. A button is displayed, and the display of the contact button displayed in the image diagram is changed to change a contact state corresponding to the contact button.

【0018】本発明によれば、制御機器システムのイメ
ージ図が表示された後、この表示されたこのイメージ図
中に接点ボタンが表示が表示されているため、デバック
に際し、起動を駆けられた入出力接点の配置位置が明瞭
である。
According to the present invention, after the image diagram of the control device system is displayed, the contact button is displayed in the displayed image diagram. Is clear.

【0019】また、制御機器システムのメージ図に表示
された接点ボタンの表示を変更させることによるり、所
望する接点の状態を変更させることができる。
Further, the state of a desired contact can be changed by changing the display of the contact button displayed on the message diagram of the control device system.

【0020】さらに、制御機器システムのイメージ図に
表示された接点ボタンの一覧とともに、この表示された
接点ボタンに対する接点のタイミングチャートを表示さ
せるタイミングチャート表示ボタンを有するため、タイ
ミングチャートを参照してデバックすることができる。
Further, since there is a timing chart display button for displaying a list of the contact buttons displayed on the image diagram of the control device system and a timing chart of the contacts for the displayed contact buttons, debugging is performed with reference to the timing chart. be able to.

【0021】[0021]

【発明の実施の形態】以下、本発明に係るデバック装置
およびデバック方法の実施形態を図面を参照して説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a debugging device and a debugging method according to the present invention will be described below with reference to the drawings.

【0022】図1は本発明に係るデバック装置の一実施
形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a debugging device according to the present invention.

【0023】この実施形態のデバック装置は、イメージ
データを読み込むイメージデータ読込み部1と、イメー
ジデータを記憶するイメージデータ記憶部2と、画面制
御部3と、接点ボタン操作実行部4とを備えて構成され
ている。
The debug device of this embodiment includes an image data reading unit 1 for reading image data, an image data storage unit 2 for storing image data, a screen control unit 3, and a contact button operation execution unit 4. It is configured.

【0024】イメージデータ読込み部1は、イメージデ
ータを読み込むものであって、例えばスキャナ等があ
る。
The image data reading section 1 reads image data, and includes, for example, a scanner.

【0025】ここで、CRTに描かれるイメージデータ
として、制御機器システムの全体または必要に応じて分
割された部分の手書きの図面,写真,イラストをイメー
ジスキャナーで読み込んで、イメージデータ記憶部に記
憶されたものや、CADの図面データ等のように直に画
面上に表示したものが使用される。
Here, as the image data to be drawn on the CRT, hand-drawn drawings, photographs, and illustrations of the entire control device system or the parts divided as necessary are read by an image scanner and stored in an image data storage unit. And those directly displayed on the screen such as CAD drawing data are used.

【0026】画面制御部3は、後述する画面全体を制御
するものであって、イメージ表示部31および接点ボタ
ン表示部32を備えている。そして、イメージ表示部3
1は、イメージ読込み部1で読み込んでイメージデータ
記憶部2に記憶されたイメージデータをCRT画面上に
描画するように構成されており、また、接点ボタン表示
部32は、イメージ表示部31でCRT画面に表示され
た制御機器システムのイメージ図上の所定箇所に、接点
ボタンを表示するように構成されている。
The screen control section 3 controls the entire screen, which will be described later, and includes an image display section 31 and a contact button display section 32. And the image display unit 3
1 is configured to draw the image data read by the image reading unit 1 and stored in the image data storage unit 2 on the CRT screen. A contact button is configured to be displayed at a predetermined position on the image diagram of the control device system displayed on the screen.

【0027】ここで、画面に表示される接点ボタンは、
ラダーチャートや、ニーモニックで記述されたプログラ
ムから予め抽出された接点番号,コメント,接点の種類
および接点状態からなる接点データを読み出して表示す
る。
Here, the contact buttons displayed on the screen are:
It reads out and displays contact data including contact numbers, comments, contact types, and contact states extracted in advance from a ladder chart or a program described in mnemonics.

【0028】例えば、図2に示すように、モータM1に
より回転するベルト45上に載置され、所定箇所でセン
サ46,47でこのワーク48の良/不良判定を行い、
その結果、このワーク48が不良である場合には、シリ
ンダ49でワーク48をベルト45から排除する工程に
ついての表示画面では、センサ46に接点ボタン41
a,センサ47に接点ボタン41b,シリンダ49に接
点ボタン41c,41d,41e,41fがウィンドウ
として貼り付けられている。
For example, as shown in FIG. 2, it is placed on a belt 45 which is rotated by a motor M1.
As a result, when the work 48 is defective, the contact button 41 is displayed on the sensor 46 on the display screen for the process of removing the work 48 from the belt 45 by the cylinder 49.
a, a contact button 41b is attached to the sensor 47, and contact buttons 41c, 41d, 41e, 41f are attached to the cylinder 49 as windows.

【0029】因みに、センサ46の接点ボタン41a
は、接点番号401aとして「00005」,コメント
402aとして「検出1」,接点の種類403aとして
「I」となっている。
By the way, the contact button 41a of the sensor 46
Is "00005" as the contact number 401a, "Detection 1" as the comment 402a, and "I" as the contact type 403a.

【0030】接点ボタン操作実行部3は、所定の接点ボ
タンがマウスでクリックされると、そのクリックされた
接点ボタンの表示をONにして、この接点に対応する制
御機器システムのセンサ等の代わりに模擬的な入力信号
をPLCに与えるように構成されている。
When a predetermined contact button is clicked with a mouse, the contact button operation execution unit 3 turns on the display of the clicked contact button, and replaces the sensor or the like of the control device system corresponding to the contact with the contact button. It is configured to provide a simulated input signal to the PLC.

【0031】ここで、この実施形態のデバック装置のC
RTが表示する画面について説明する。
Here, C of the debugging device of this embodiment is
The screen displayed by the RT will be described.

【0032】この実施形態のデバック装置のCRTに
は、図3に示すように、スイッチボックスウィンドウ2
0,タイミングチャートウィンドウ30,イメージ図表
示ウィンドウ40およびクラス一覧ウィンドウ50を少
なくとも表示するようになっている。
As shown in FIG. 3, a switch box window 2 is provided on the CRT of the debugging device of this embodiment.
0, a timing chart window 30, an image diagram display window 40, and a class list window 50 are at least displayed.

【0033】(1)スイッチボックスウィンドウについ
て スイッチボックスウィンドウ20は、図4(a)に示す
ように、制御機器の入力接点に対して起動を駆け、ま
た、制御機器の出力接点の表示を示す接点ボタン41が
表示されている。
(1) Regarding the switch box window As shown in FIG. 4A, the switch box window 20 activates the input contacts of the control device, and displays the output contacts of the control device. Button 41 is displayed.

【0034】各接点ボタン41は、図4(b)に示すよ
うに、接点番号および接点の種類が表示されたボタンエ
リア410aおよびこの接点の内容をコメントコメント
エリア410bで形成されている。
As shown in FIG. 4B, each contact button 41 is formed of a button area 410a on which a contact number and a contact type are displayed, and a comment / comment area 410b indicating the contents of the contact.

【0035】なお、ボタンエリア41aをマウスでクリ
ックすることにより、接点をON/OFFすることがで
きる。
The contact can be turned ON / OFF by clicking the button area 41a with a mouse.

【0036】なお、このスイッチボックスウィンドウ2
0の大きさを変更させることにより、表示させる接点ボ
タン41の数を調節することができ、また、表示しきれ
ない接点ボタン41は画面をスクロールすることで、表
示させることができる。
Note that this switch box window 2
The number of contact buttons 41 to be displayed can be adjusted by changing the size of 0, and the contact buttons 41 that cannot be displayed can be displayed by scrolling the screen.

【0037】図5(a)に示すように、マウスで[表
示]メニュー11をクリックし、ポップアップメニュー
12を表示させ、その中のコメント表示13をクリック
することで、すでに表示されているスイッチボックスウ
ィンドウ41中のコメントエリア41bを消去するよう
になっている。
As shown in FIG. 5A, by clicking the [Display] menu 11 with the mouse to display the pop-up menu 12, and clicking on the comment display 13 in the menu, the switch box already displayed is displayed. The comment area 41b in the window 41 is deleted.

【0038】こうすることにより、接点ボタン41がボ
タンエリア41aおよびコメントエリア41bの場合に
は、表示する量がたくさんあり、表示することができな
いときでも、コメントエリア41bを消去することによ
り表示することが可能となる。
In this way, when the contact buttons 41 are the button area 41a and the comment area 41b, the comment area 41b can be displayed by deleting the comment area 41b even when the amount of display is large and the display cannot be performed. Becomes possible.

【0039】(2)タイミングチャートウィンドウ タイミングチャートウィンドウ30は、図6に示すよう
に、各接点ボタン41に応じた接点の状態変化を表した
タイムチャートグラフ32が表示されている。
(2) Timing Chart Window As shown in FIG. 6, the timing chart window 30 displays a time chart graph 32 showing a change in the state of a contact corresponding to each contact button 41.

【0040】このタイミングチャートウィンドウ30
は、デバック実行中は接点の状態の変化が即座にタイム
チャートグラフとして反映されるので、デバックの進行
状況を容易に確認することができるとともに、ログファ
イルに保存されたデバック実行結果をタイムチャートに
表示することができるので、過去の実行結果と容易に比
較することができる。
This timing chart window 30
During debugging, changes in the state of the contacts are immediately reflected as a time chart graph, so that the progress of debugging can be easily checked and the execution results of the debugging saved in the log file are displayed in a time chart. Since it can be displayed, it can be easily compared with the past execution results.

【0041】なお、このウィンドウに表示されている接
点ボタン41を、マウスでクリックすることで、スイッ
チボックスウィンドウ20を介さずに直に接点をON/
OFFすることができる。
By clicking the contact button 41 displayed in this window with a mouse, the contact is directly turned ON / OFF without going through the switch box window 20.
Can be turned off.

【0042】なお、このウィンドウ30も、その大きさ
を変更させることにより、表示させる接点ボタン41の
数を調節することができ、また、表示しきれない接点ボ
タン41は画面をスクロールすることで、表示させるこ
とができる。
The number of the contact buttons 41 to be displayed can be adjusted by changing the size of the window 30, and the contact buttons 41 that cannot be displayed can be scrolled on the screen. Can be displayed.

【0043】(3)イメージ図表示ウィンドウ イメージ図表示ウィンドウ40は、先に説明したよう
に、手書きの図面,写真,イラスト等で描かれたイメー
ジ図が表示されており、この描かれたイメージ図中に、
対応する接点ボタン41が自由に貼り付けたものが表示
されている(図7参照)。
(3) Image Diagram Display Window As described above, the image diagram display window 40 displays an image diagram drawn by hand-drawn drawings, photographs, illustrations, and the like.
The corresponding contact buttons 41 are freely attached (see FIG. 7).

【0044】このイメージ図表示ウィンドウ40は、デ
バックする工程のイメージ図上に、対応する接点ボタン
を貼り付けることによって、制御機器システムの実機動
作をイメージしやすくなる。なお、このウィンドウ40
もまた、その大きさを変更させることができる。
In the image diagram display window 40, by attaching the corresponding contact buttons on the image diagram of the debugging process, it becomes easier to imagine the actual operation of the control device system. This window 40
Can also be changed in size.

【0045】(4)クラス一覧ウィンドウについて クラス一覧ウィンドウ50は、図8に示すように、実機
システムの各制御機器における動作状態を表示するクラ
ス状態ボタン51と、実機システムの各制御機器ごとに
備える接点に対応した接点ボタン41と、制御機器の上
述したタイミングチャートウインド30を表示させるチ
ャート表示ボタン52が表示されている。
(4) Class List Window As shown in FIG. 8, the class list window 50 is provided with a class status button 51 for displaying the operation status of each control device of the actual system and each control device of the actual system. A contact button 41 corresponding to the contact and a chart display button 52 for displaying the above-described timing chart window 30 of the control device are displayed.

【0046】因みに、制御機器としてシリンダの場合に
は、接点ボタン41a,41b,41c,41d,41
eを有している。
Incidentally, in the case of a cylinder as the control device, the contact buttons 41a, 41b, 41c, 41d, 41
e.

【0047】なた、マウスでチャート表示ブタン52を
クリックすると、図8(b)に示すように、チャート表
示ボタン52をクリックした箇所における制御機器に設
けられた接点ボタン41の上述したタイミングチャート
ウィンドウ30が表示される。
When the chart display button 52 is clicked with the mouse, as shown in FIG. 8B, the timing chart window of the contact button 41 provided on the control device at the position where the chart display button 52 is clicked is displayed. 30 is displayed.

【0048】次に、CRTに表示されたイメージ図に該
当する接点ボタンを貼り付け方法を説明する。
Next, a method of attaching a contact button corresponding to the image diagram displayed on the CRT will be described.

【0049】図9に示すように、操作者は、イメージデ
ータ記憶部2に予め記憶されている制御機器システムの
イメージデータをCRTに表示する。
As shown in FIG. 9, the operator displays image data of the control device system stored in the image data storage section 2 on the CRT in advance.

【0050】次に、操作者は、接点ボタン41を表すク
ラス一覧ウィンドウ50を、制御機器システムのイメー
ジデータが表示されたCRT上に表示する。
Next, the operator displays a class list window 50 representing the contact button 41 on the CRT on which the image data of the control device system is displayed.

【0051】そして、表示されたクラス一覧ウインド中
において、クラス状態ボタン51,このクラス状態ボタ
ン51の接点ボタン41およびチャート表示ボタン52
を切り取り、図10,図11に示すように、画面中の所
定の箇所に移動して貼り付ける。
Then, in the displayed class list window, a class status button 51, a contact button 41 of the class status button 51, and a chart display button 52 are displayed.
Is cut and moved to a predetermined location on the screen and pasted as shown in FIGS.

【0052】画面に、クラス状態ボタン51等が貼り付
けられると、図12示すように、クラス一覧ウィンドウ
50を表示画面から消去する。
When the class status button 51 and the like are pasted on the screen, the class list window 50 is deleted from the display screen as shown in FIG.

【0053】その後、操作者は、クラス状態ボタン51
およびチャート表示ボタン52を、マウスをクリックし
て表示画面から消去し、接点ボタン41のみを表示し、
その後、表示されている接点ボタン41の各々を、マウ
スでクリックして、制御機器システムのイメージデータ
を表示する画面の適当な箇所に貼り付ける。
Thereafter, the operator presses the class state button 51
And the chart display button 52 is deleted from the display screen by clicking the mouse, and only the contact button 41 is displayed.
Thereafter, each of the displayed contact buttons 41 is clicked with a mouse, and is pasted on an appropriate portion of a screen displaying image data of the control device system.

【0054】すると、図13に示すように、各制御機器
ごとに、接点ボタン41が貼り付けられたイメージ図ウ
ィンドウ40がCRT上に表示される。
Then, as shown in FIG. 13, an image diagram window 40 on which the contact button 41 is pasted is displayed on the CRT for each control device.

【0055】なお、図12に示すように、画面に表示さ
れた制御機器の近傍に、この制御機器に関するクラス状
態ボタン51,接点ボタン41およびチャート表意ボタ
ン52を表示させに止めることも可能である。この場
合、クラス状態ボタン51をマウスでクリックし、ON
にすることで、このクラス状態ボタン51につながる接
点ボタン41を順次自動的にONしていき、その進行状
況を接点ボタン41の表示状態の変化でとらえることが
できる。
As shown in FIG. 12, it is possible to stop displaying the class status button 51, the contact button 41, and the chart designating button 52 related to the control device near the control device displayed on the screen. . In this case, click the class status button 51 with the mouse and turn it on.
Thus, the contact button 41 connected to the class state button 51 is automatically turned on sequentially, and the progress can be grasped by a change in the display state of the contact button 41.

【0056】また、チャート表示ボタン52をマウスで
クリックしてタイムチャートウィンドウ30を表示さ
せ、さらに該当する接点ボタン41を、マウスでクリッ
クしていくことで、各接点ボタンに対応した制御機器の
接点の動作がタイミングチャートとして表示することが
できる。
The chart display button 52 is clicked with the mouse to display the time chart window 30, and the corresponding contact button 41 is clicked with the mouse. Can be displayed as a timing chart.

【0057】この実施形態のデバック装置では、どの装
置/機器にどの接点が関係しているか否かが視覚的に理
解できるので、デバック中に、今この接点がどんな状態
であるのが正しいのか、また、状態を変更する必要があ
る接点はどれかといったことが容易に判断することがで
きる。
In the debug device of this embodiment, it is possible to visually understand which device / equipment is related to which contact, so that during debugging, the state of this contact is correct. Further, it is easy to determine which of the contacts needs to change the state.

【0058】また、制御機器システムのメージ図に表示
された接点ボタンの表示を変更させることによるり、所
望する接点の状態を変更させることができる。
The desired contact state can be changed by changing the display of the contact button displayed on the message diagram of the control device system.

【0059】さらに、制御機器システムのイメージ図に
表示された接点ボタンの一覧とともに、この表示された
接点ボタンに対する接点のタイミングチャートを表示さ
せるタイミングチャート表示ボタンを有するため、タイ
ミングチャートを参照してデバックすることができる。
Furthermore, since there is a timing chart display button for displaying a timing chart of the contact points for the displayed contact buttons together with a list of the contact buttons displayed on the image diagram of the control device system, debugging is performed with reference to the timing chart. be able to.

【0060】[0060]

【発明の効果】以上本発明によれば、制御機器システム
のイメージ図が表示された後、この表示されたこのイメ
ージ図中に接点ボタンが表示が表示されているため、シ
ーケンスプログラムをシュミレーションを行ってデバッ
クするに際し、起動を駆けられた入出力接点の配置位置
が明瞭に把握することができでる。
As described above, according to the present invention, after the image of the control device system is displayed, the contact buttons are displayed in the displayed image, so that the sequence program is simulated and debugged. In doing so, the location of the input / output contacts that have been activated can be clearly grasped.

【0061】従って、デバックをするに際し、実際の制
御機器システムのイメージを伴いつつ、容易にデバック
を行うことができる。
Therefore, it is possible to easily perform the debugging while accompanying the image of the actual control device system.

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

【図1】本発明に係るデバック装置の一実施形態の構成
を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an embodiment of a debugging device according to the present invention.

【図2】制御機器システムのイメージ図中に接点ボック
スが表示されたときの参考図。
FIG. 2 is a reference diagram when a contact box is displayed in an image diagram of the control device system.

【図3】この実施形態のデバック装置の一表示画面。FIG. 3 is a display screen of a debug device according to the embodiment.

【図4】この実施形態のデバック装置に表示されるスイ
ッチボックスウィンドウの表示画面。
FIG. 4 is a display screen of a switch box window displayed on the debug device of the embodiment.

【図5】スイッチボックスウィンドウ中の接点ボタンか
らコメントエリアを消去する際の処理説明図。
FIG. 5 is an explanatory diagram of a process when deleting a comment area from a contact button in a switch box window.

【図6】この実施形態のデバック装置に表示されるタイ
ムチャートウィンドウの表示画面。
FIG. 6 is a display screen of a time chart window displayed on the debug device of the embodiment.

【図7】この実施形態のデバック装置に表示されるイメ
ージ図ウィンドウの表示画面。
FIG. 7 is a display screen of an image diagram window displayed on the debug device of the embodiment.

【図8】この実施形態のデバック装置に表示されるクラ
ス一覧ウィンドウの表示画面。
FIG. 8 is a display screen of a class list window displayed on the debug device of this embodiment.

【図9】CRTに表示されたイメージ図に接点ボタンを
貼り付け処理についての説明図。
FIG. 9 is a diagram illustrating a process of pasting a contact button on an image displayed on a CRT.

【図10】CRTに表示されたイメージ図に接点ボタン
を貼り付け処理についての説明図。
FIG. 10 is an explanatory diagram of a process of pasting a contact button on an image displayed on a CRT.

【図11】CRTに表示されたイメージ図に接点ボタン
を貼り付け処理についての説明図。
FIG. 11 is an explanatory diagram of a process of pasting a contact button on an image displayed on a CRT.

【図12】CRTに表示されたイメージ図に接点ボタン
を貼り付け処理についての説明図。
FIG. 12 is an explanatory diagram of a process of pasting a contact button on an image diagram displayed on a CRT.

【図13】CRTに表示されたイメージ図に接点ボタン
を貼り付け処理についての説明図。
FIG. 13 is an explanatory diagram of a process of pasting a contact button on an image displayed on a CRT.

【図14】ラダーチャートにつての説明図。FIG. 14 is an explanatory diagram of a ladder chart.

【図15】CRTに表示されるスイッチボックスについ
て説明図。
FIG. 15 is an explanatory diagram of a switch box displayed on a CRT.

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

1 イメージデータ読込み部 2 イメージデータ記憶部 3 画面制御部 4 接点ボタン操作実行部 20 スイッチボックスウィンドウ 30 タイムチャートウィンドウ 40 イメージ図ウィンドウ 50 クラス一覧ウィンドウ 31 イメージ表示部 32 接点ボタン表示部 41 クラス状態ボタン51 52 チャート表示ボタン 41a,41b,41c,41d,41e,41f 接
点ボタン 410a 接点エリア 410b コメントエリア
DESCRIPTION OF SYMBOLS 1 Image data reading part 2 Image data storage part 3 Screen control part 4 Contact button operation execution part 20 Switch box window 30 Time chart window 40 Image diagram window 50 Class list window 31 Image display part 32 Contact button display part 41 Class state button 51 52 Chart display button 41a, 41b, 41c, 41d, 41e, 41f Contact button 410a Contact area 410b Comment area

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 制御機器システムを制御するシーケンス
プログラムのバグを検出するデバック装置において、 前記制御機器システムのイメージ図を表示するイメージ
図表示手段と、 このイメージ図表示手段により表示された前記制御機器
システムのイメージ図中に接点ボタンを表示する接点ボ
タン表示手段と、 を具備することを特徴とするデバック装置。
1. A debug device for detecting a bug in a sequence program for controlling a control device system, comprising: an image diagram display means for displaying an image diagram of the control device system; and an image diagram of the control device system displayed by the image diagram display means. And a contact button displaying means for displaying a contact button therein.
【請求項2】 前記イメージ図に表示された接点ボタン
に対応した接点の状態を変更させる接点状態変更手段を
有することを特徴とする請求項1記載のデバック装置。
2. The debugging device according to claim 1, further comprising contact state changing means for changing a state of a contact corresponding to the contact button displayed on the image diagram.
【請求項3】 前記制御機器システムのイメージ図は、
制御機器システムの全体または必要に応じて分割された
部分を描画した手書きの図面,写真,イラストをイメー
ジスキャナーで読み込んだものや、CADの図面データ
等のように直に画面上に表示したものであることを特徴
とする請求項1記載のデバック装置。
3. An image diagram of the control device system,
A hand-drawn drawing, photograph, or illustration that draws the entire control device system or a part that is divided as necessary is read by an image scanner, or is displayed directly on the screen, such as CAD drawing data. The debugging device according to claim 1, wherein:
【請求項4】 前記接点ボタン表示手段は、前記制御機
器システムのイメージ図に表示された接点ボタンの一覧
とともに、この表示された接点ボタンに対する接点のタ
イミングチャートを表示させるタイミングチャート表示
ボタンを表示することを特徴とる請求項1または2記載
のデバック装置。
4. The contact button display means displays a list of contact buttons displayed on an image diagram of the control device system, and a timing chart display button for displaying a timing chart of contacts for the displayed contact buttons. The debugging device according to claim 1 or 2, wherein:
【請求項5】 前記接点ボタン表示手段は、前記制御機
器システムのイメージ図に表示された接点ボタンの一
覧,この表示された接点ボタンに対する接点のタイミン
グチャートを表示させるタイミングチャート表示ボタ
ン,および各制御機器に対応する接点ボタンに対して順
次起動をかけるクラス状態ボタンを有することを特徴と
する請求項1または2記載のデバック装置。
5. The contact button display means includes: a list of contact buttons displayed on an image diagram of the control device system; a timing chart display button for displaying a timing chart of contacts for the displayed contact buttons; and each control device. 3. The debugging device according to claim 1, further comprising: a class state button for sequentially activating the contact buttons corresponding to.
【請求項6】 前記接点ボタンには、接点番号,コメン
トおよび接点の種類を有することを特徴とする請求項1
乃至5記載のいずれかのデバック装置。
6. The contact button according to claim 1, wherein the contact button has a contact number, a comment, and a contact type.
6. The debugging device according to any one of claims 1 to 5.
【請求項7】 前記接点ボタン中のコメントを消去する
コメント消去手段とを有することを特徴とする請求項6
記載のデバック装置。
7. A comment deleting means for deleting a comment in the contact button.
A debugging device as described.
【請求項8】 制御機器システムを制御するシーケンス
プログラムのバグを検出するデバック方法において、 前記制御機器システムのイメージ図上を表示し、 表示された前記制御機器システムのイメージ図に接点ボ
タンを表示し、 前記イメージ図に表示された接点ボタンの表示を変更し
て、接点ボタンに対応した接点状態を変更させることを
特徴とするデバック方法。
8. A debugging method for detecting a bug in a sequence program for controlling a control device system, comprising: displaying an image on the control device system; displaying a contact button on the displayed image of the control device system; A debugging method characterized by changing the display of a contact button displayed on an image diagram to change a contact state corresponding to the contact button.
JP18789096A 1996-07-17 1996-07-17 Debug device and debug method Expired - Lifetime JP3350717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18789096A JP3350717B2 (en) 1996-07-17 1996-07-17 Debug device and debug method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18789096A JP3350717B2 (en) 1996-07-17 1996-07-17 Debug device and debug method

Publications (2)

Publication Number Publication Date
JPH1031508A true JPH1031508A (en) 1998-02-03
JP3350717B2 JP3350717B2 (en) 2002-11-25

Family

ID=16213992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18789096A Expired - Lifetime JP3350717B2 (en) 1996-07-17 1996-07-17 Debug device and debug method

Country Status (1)

Country Link
JP (1) JP3350717B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014106720A (en) * 2012-11-27 2014-06-09 Toshiba Mitsubishi-Electric Industrial System Corp Testing device for programmable controller
JP2017152406A (en) * 2000-03-10 2017-08-31 株式会社半導体エネルギー研究所 Display device and electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017152406A (en) * 2000-03-10 2017-08-31 株式会社半導体エネルギー研究所 Display device and electronic apparatus
JP2014106720A (en) * 2012-11-27 2014-06-09 Toshiba Mitsubishi-Electric Industrial System Corp Testing device for programmable controller

Also Published As

Publication number Publication date
JP3350717B2 (en) 2002-11-25

Similar Documents

Publication Publication Date Title
US7721255B2 (en) Sequence program editing apparatus
US7209815B2 (en) Test procedures using pictures
EP1839272A1 (en) Test procedures using pictures
JP3892405B2 (en) Sequence circuit display method for injection molding machine
JPH1011118A (en) Sequence controller, data processor, data recording and reproducing method, and recording medium
FR2473766A1 (en) DISPLAY DEVICE FOR BLOCKS OF SEQUENCES
JP2723762B2 (en) Automatic inspection system for parts
JP3350717B2 (en) Debug device and debug method
JP4015744B2 (en) Vehicle diagnostic device
JP2013105218A (en) Display device
US6145093A (en) Debugging method and method of displaying information for data processing for use in programmable display device
JPH10221129A (en) Analyzer
JPH09319417A (en) Method for registering object to be registered, method for registering object device to be processed of ladder program, recording medium recording computer programs, and data processor
JPS5826585B2 (en) Program debugging and data retrieval
JPH0362104A (en) Inspection instrument
JPH09319414A (en) Data processor, sequence program editing method, and recording medium
JPH06250876A (en) Interactive debugging supporting system
JP2000276224A (en) Method and device for inspecting control program and automatically generating inspection program therefor
JPH08221300A (en) Program simulator
JPH11259120A (en) Fault diagnostic device
JPH0670001U (en) Peripheral device of programmable controller
JPH0233178B2 (en)
JPH0439746A (en) Program development supporting device
JP2010176516A (en) Surveillance test device and method for verifying surveillance test procedure
JPS63278151A (en) Debugging device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020805

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120920

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130920

Year of fee payment: 11

EXPY Cancellation because of completion of term