JP2000132423A - Debugging system for programmable controller - Google Patents

Debugging system for programmable controller

Info

Publication number
JP2000132423A
JP2000132423A JP10299495A JP29949598A JP2000132423A JP 2000132423 A JP2000132423 A JP 2000132423A JP 10299495 A JP10299495 A JP 10299495A JP 29949598 A JP29949598 A JP 29949598A JP 2000132423 A JP2000132423 A JP 2000132423A
Authority
JP
Japan
Prior art keywords
programmable controller
port
debugging
tool
debug
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
JP10299495A
Other languages
Japanese (ja)
Inventor
Masahiko Fukushima
正彦 福島
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.)
Advanced Display Inc
Original Assignee
Advanced Display Inc
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 Advanced Display Inc filed Critical Advanced Display Inc
Priority to JP10299495A priority Critical patent/JP2000132423A/en
Publication of JP2000132423A publication Critical patent/JP2000132423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the debugging system for programmable controllers which eliminates the need to insert and extract a cable and replace a program file when programmable controllers are debugged by using one debugging tool. SOLUTION: A debugging system for programmable controllers 1 which starts debugging the programmable controller 1 corresponding to a program by connecting the debugging tool 2 having an RS232C port 6 among a plurality of the programmable controllers 1 connected on a multidrop basis through RS485 ports a RS232C/RS485 transducer 10 and selecting the program corresponding to each programmable controller loaded to an application program 8 on the multiwindow OS of the debugging tool 2 is provided.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数台のプログ
ラマブルコントローラにより構成される制御システムを
同時に1台のデバッグツールでデバッグするプログラマ
ブルコントローラのデバッグシステムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a programmable controller debug system for simultaneously debugging a control system including a plurality of programmable controllers with a single debug tool.

【0002】[0002]

【従来の技術】図2は、従来のプログラマブルコントロ
ーラのデバッグシステムを示す構成図である。図におい
て、1はプログラマブルコントローラで、PLC1〜P
LCnは個々のプログラマブルコントローラを示してい
る。2はプログラマブルコントローラ1をデバッグする
パソコン等のデバッグツール、3はデバッグツール2の
ポートで、RS422またはRS232Cに対応してい
る。4はデバッグツール2のデバッグに用いるアプリケ
ーションプログラムで、特定のプログラマブルコントロ
ーラ毎のプログラムファイル5をデバッグのつどロード
して用いている。
2. Description of the Related Art FIG. 2 is a block diagram showing a conventional debug system for a programmable controller. In the figure, 1 is a programmable controller,
LCn indicates an individual programmable controller. Reference numeral 2 denotes a debugging tool such as a personal computer for debugging the programmable controller 1, and reference numeral 3 denotes a port of the debugging tool 2, which corresponds to RS422 or RS232C. Reference numeral 4 denotes an application program used for debugging of the debug tool 2, which loads and uses a program file 5 for each specific programmable controller at each time of debugging.

【0003】このような従来のプログラマブルコントロ
ーラのデバッグシステムでは、プログラマブルコントロ
ーラ1をデバッグするときは、図2に示すように1台の
デバッグツール2と1台のプログラマブルコントローラ
1を1:1で接続していた。またデバッグするプログラ
ムファイル5も1つだけデバッグツール2のアプリケー
ションプログラム4上にロードされていた。
In such a conventional programmable controller debugging system, when debugging the programmable controller 1, as shown in FIG. 2, one debugging tool 2 and one programmable controller 1 are connected one to one. I was Also, only one program file 5 to be debugged is loaded on the application program 4 of the debug tool 2.

【0004】[0004]

【発明が解決しようとする課題】これには、次のような
欠点があった。複数台のプログラマブルコントローラ1
から構成される制御システムを1台のデバッグツール2
でデバッグするときは、 (a)デバッグの対象となる特定のプログラマブルコン
トローラ1とデバッグツールの接続ケーブルを、その都
度つなぎ替える必要がある。 (b)デバッグの対象となる特定のプログラマブルコン
トローラ1のプログラムファイル5をその都度、デバッ
グツール2のアプリケーションプログラム4にロードす
る必要がある。
This has the following disadvantages. Multiple programmable controllers 1
Control system consisting of a single debugging tool 2
(A) It is necessary to change the connection cable between the specific programmable controller 1 to be debugged and the debug tool each time. (B) It is necessary to load the program file 5 of the specific programmable controller 1 to be debugged into the application program 4 of the debug tool 2 each time.

【0005】この発明は、上述のような課題を解決する
ためになされたもので、複数台のプログラマブルコント
ローラを1台のデバッグツールを用いてデバッグする場
合に、ケーブルの差しかえやプログラム・ファイルの入
れかえの必要がないプログラマブルコントローラのデバ
ッグシステムを得ることを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. When debugging a plurality of programmable controllers by using a single debugging tool, replacement of a cable or a program file is performed. The purpose is to obtain a debug system for a programmable controller that does not need to be replaced.

【0006】[0006]

【課題を解決するための手段】この発明に係わるプログ
ラマブルコントローラのデバッグシステムにおいては、
第一のポートを介してマルチドロップ接続された複数台
のプログラマブルコントローラと、第二のポートを有す
るデバッグツールと、第一のポートに対応するコードと
第二のポートに対応するコードとをコード変換する変換
器を備え、デバッグツールは変換器を介してプログラマ
ブルコントローラと接続されているものである。
In a debug system for a programmable controller according to the present invention,
A plurality of programmable controllers multi-drop-connected via a first port, a debugging tool having a second port, and code conversion between a code corresponding to the first port and a code corresponding to the second port The debug tool is connected to the programmable controller via the converter.

【0007】また、デバッグツールの第二のポートは、
RS232Cポートであるものである。また、プログラ
マブルコントローラの第一のポートは、RS485ポー
トであるものである。さらに、デバッグツールは、各プ
ログラマブルコントローラに対応したプログラムをロー
ドしているものである。
The second port of the debugging tool is:
It is an RS232C port. The first port of the programmable controller is an RS485 port. Further, the debug tool loads a program corresponding to each programmable controller.

【0008】また、プログラマブルコントローラのデバ
ッグは、デバッグツール上の各プログラマブルコントロ
ーラに対応したプログラムを選択することによって開始
されるものである。また、デバッグツールは、マルチウ
ィンドウのOSを有し、各プログラマブルコントローラ
に対応したプログラムは、独立したウィンドウに表示さ
れるものである。
Further, debugging of the programmable controller is started by selecting a program corresponding to each programmable controller on a debugging tool. The debug tool has a multi-window OS, and programs corresponding to the respective programmable controllers are displayed in independent windows.

【0009】[0009]

【発明の実施の形態】以下、添付の図面に基づいて、こ
の発明の実施の形態によるプログラマブルコントローラ
のマルチデバッグシステムを説明する。図1は、この発
明の実施の形態によるプログラマブルコントローラのデ
バッグシステムを示す構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A multi-debug system for a programmable controller according to an embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a configuration diagram showing a debug system for a programmable controller according to an embodiment of the present invention.

【0010】図において、1は第一のポートを構成する
RS485ポートを有するプログラマブルコントローラ
で、PLC1〜PLCnは個々のプログラマブルコント
ローラを示している。2はプログラマブルコントローラ
1をデバッグするデバッグツールで、RS232Cポー
トを有するノートパソコンまたはデスクトップパソコン
等が用いられる。5は個々のプログラマブルコントロー
ラ1に対応するプログラムファイル、6はデバッグツー
ル2の第二のポートを構成するRS232Cポート、7
はデバッグツール2のマルチウィンドウタイプのOS、
8はOS7上に立ち上げられるアプリケーションプログ
ラム、9はアプリケーションプログラム8上にロードさ
れたプログラムファイルで、それぞれ独立したウィンド
ウに表示される。
In FIG. 1, reference numeral 1 denotes a programmable controller having an RS485 port constituting a first port, and PLC1 to PLCn denote individual programmable controllers. Reference numeral 2 denotes a debugging tool for debugging the programmable controller 1, and a notebook personal computer or a desktop personal computer having an RS232C port is used. 5 is a program file corresponding to each programmable controller 1; 6 is an RS232C port constituting a second port of the debug tool 2;
Is a multi-window OS of the debug tool 2,
Reference numeral 8 denotes an application program started on the OS 7, and 9 denotes a program file loaded on the application program 8, which is displayed in an independent window.

【0011】10はデバッグツール2用のRS232C
ポートとプログラマブルコントローラ1用のRS485
ポートを切換えるようコード変換するRS232C/R
S485変換器で、このRS232C/RS485変換
器10を介してプログラマブルコントローラ1とデバッ
グツール2が接続される。11はプログラマブルコント
ローラ1を、RS485ポートを介してn台マルチドロ
ップ接続したRS485回線である。
Reference numeral 10 denotes an RS232C for the debug tool 2.
RS485 for ports and programmable controller 1
RS232C / R that converts code to switch ports
In the S485 converter, the programmable controller 1 and the debug tool 2 are connected via the RS232C / RS485 converter 10. Reference numeral 11 denotes an RS485 line in which n programmable controllers 1 are multidrop-connected via an RS485 port.

【0012】この発明の実施の形態によるプログラマブ
ルコントローラのデバッグシステムでは、n台のプログ
ラマブルコントローラ1と1台のデバッグツール2をプ
ログラマブルコントローラ1のRS485ポートでマル
チドロップ接続する。RS485ポートでは、32対3
2のラインドライバとラインレシーバを分岐接続できる
ので、プログラマブルコントローラ1は理論的には最大
32台まで接続可能である。
In the debug system for a programmable controller according to the embodiment of the present invention, n programmable controllers 1 and one debug tool 2 are connected in multi-drop by the RS485 port of the programmable controller 1. 32 to 3 for RS485 port
Since two line drivers and line receivers can be branched and connected, up to 32 programmable controllers 1 can be theoretically connected.

【0013】デバッグツール2は、通常RS232Cポ
ートしか所有していないので、RS232C/RS48
5変換器10を介してRS485ポートを有するプログ
ラマブルコントローラ1と接続する。デバッグツール2
は、マルチウィンドウタイプのOS(オペレーションシ
ステム)7を使用する。デバッグツール2のマルチウィ
ンドウのOS7上にプログラマブルコントローラ1のデ
バッグ用アプリケーションプログラム8を立ち上げる。
そしてこのアプリケーションプログラム8上にn台のプ
ログラマブルコントローラ1のプログラム・ファイル9
をプログラム・ファイル5からロードする。それぞれの
プログラム・ファイル9は独立したウィンドウに表示さ
れる。オペレータが、デバッグしたいプログラマブルコ
ントローラ1のプログラムが表示されているウィンドウ
を、マウス等のポインティングデバイスでクリックする
ことにより、そのプログラマブルコントローラ1とデバ
ッグツール2との通信が確立し、オンラインでのプログ
ラムの読み出し/書き込み/モニタリングなどのデバッ
グが可能となる。別のプログラマブルコントローラ1の
デバッグを行う場合は、そのプログラマブルコントロー
ラ1のプログラムファイル9が表示されているウィンド
ウをクリックすることにより、デバッグの対象であるプ
ログラマブルコントローラ1が瞬時に切替わる。
Since the debug tool 2 normally has only the RS232C port, the RS232C / RS48
5 is connected to the programmable controller 1 having an RS485 port via the converter 10. Debug Tool 2
Uses an OS (operation system) 7 of a multi-window type. The debug application program 8 of the programmable controller 1 is started on the multi-window OS 7 of the debug tool 2.
The program files 9 of the n programmable controllers 1 are stored on the application program 8.
From the program file 5. Each program file 9 is displayed in an independent window. When the operator clicks a window displaying the program of the programmable controller 1 to be debugged with a pointing device such as a mouse, communication between the programmable controller 1 and the debugging tool 2 is established, and the program is read online. Debugging such as / writing / monitoring becomes possible. When debugging another programmable controller 1, by clicking on a window in which the program file 9 of the programmable controller 1 is displayed, the programmable controller 1 to be debugged is instantaneously switched.

【0014】[0014]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。第一の
ポートを介してマルチドロップ接続された複数台のプロ
グラマブルコントローラと、第二のポートを有するデバ
ッグツールと、第一のポートに対応するコードと第二の
ポートに対応するコードとをコード変換する変換器を備
え、デバッグツールは変換器を介してプログラマブルコ
ントローラと接続されているので、デバッグするプログ
ラマブルコントローラの接続を新たに行う必要がない。
Since the present invention is configured as described above, it has the following effects. A plurality of programmable controllers multi-drop-connected via a first port, a debugging tool having a second port, and code conversion between a code corresponding to the first port and a code corresponding to the second port Since the debugging tool is connected to the programmable controller via the converter, there is no need to newly connect the programmable controller to be debugged.

【0015】また、デバッグツールの第二のポートは、
RS232Cポートであるので、通常のパソコンをデバ
ッグツールとして使うことができる。また、プログラマ
ブルコントローラの第一のポートは、RS485ポート
であるので、多くのプログラマブルコントローラが接続
できる。さらに、デバッグツールは、各プログラマブル
コントローラに対応したプログラムをロードしているの
で、そのつどロードする必要がない。
The second port of the debugging tool is:
Since it is an RS232C port, an ordinary personal computer can be used as a debugging tool. Further, since the first port of the programmable controller is an RS485 port, many programmable controllers can be connected. Further, since the debug tool loads a program corresponding to each programmable controller, it is not necessary to load the program each time.

【0016】また、プログラマブルコントローラのデバ
ッグは、デバッグツール上の各プログラマブルコントロ
ーラに対応したプログラムを選択することによって開始
されるので、プログラムを選択するだけで、対象となる
プログラマブルコントローラをデバッグできる。
Further, since the debugging of the programmable controller is started by selecting a program corresponding to each programmable controller on the debug tool, the target programmable controller can be debugged only by selecting the program.

【0017】また、デバッグツールは、マルチウィンド
ウのOSを有し、各プログラマブルコントローラに対応
したプログラムは、独立したウィンドウに表示されるの
で、それをクリックするだけでプログラムの選択を行う
ことができる。
The debug tool has a multi-window OS, and programs corresponding to the respective programmable controllers are displayed in independent windows, so that a program can be selected by just clicking the program.

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

【図1】 この発明の実施の形態によるプログラマブル
コントローラのデバッグシステムを示す構成図である。
FIG. 1 is a configuration diagram showing a debug system for a programmable controller according to an embodiment of the present invention.

【図2】 従来のプログラマブルコントローラのデバッ
グシステムを示す構成図である。
FIG. 2 is a configuration diagram showing a conventional programmable controller debugging system.

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

1 プログラマブルコントローラ、2 デバッグツー
ル、5,9 プログラム・ファイル、6 RS232C
ポート、8 アプリケーションプログラム、10 RS
232C/RS485変換器、11 RS485回線。
1 Programmable controller, 2 debug tool, 5, 9 program file, 6 RS232C
Ports, 8 application programs, 10 RS
232C / RS485 converter, 11 RS485 lines.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 第一のポートを介してマルチドロップ接
続された複数台のプログラマブルコントローラ、第二の
ポートを有するデバッグツール、第一のポートに対応す
るコードと第二のポートに対応するコードとをコード変
換する変換器を備え、上記デバッグツールは上記変換器
を介してプログラマブルコントローラと接続されている
ことを特徴とするプログラマブルコントローラのデバッ
グシステム。
A plurality of programmable controllers connected in a multi-drop manner via a first port, a debugging tool having a second port, a code corresponding to the first port, and a code corresponding to the second port. A debug system for a programmable controller, comprising: a converter for performing code conversion, wherein the debug tool is connected to the programmable controller via the converter.
【請求項2】 デバッグツールの第二のポートは、RS
232Cポートであることを特徴とする請求項1記載の
プログラマブルコントローラのデバッグシステム。
2. The second port of the debug tool is RS
2. The debug system for a programmable controller according to claim 1, wherein the port is a 232C port.
【請求項3】 プログラマブルコントローラの第一のポ
ートは、RS485ポートであることを特徴とする請求
項1または請求項2記載のプログラマブルコントローラ
のデバッグシステム。
3. The debug system for a programmable controller according to claim 1, wherein the first port of the programmable controller is an RS485 port.
【請求項4】 デバッグツールは、各プログラマブルコ
ントローラに対応したプログラムをロードしていること
を特徴とする請求項1〜請求項3のいずれか一項記載の
プログラマブルコントローラのデバッグシステム。
4. The programmable controller debugging system according to claim 1, wherein the debugging tool loads a program corresponding to each programmable controller.
【請求項5】 プログラマブルコントローラのデバッグ
は、デバッグツール上の各プログラマブルコントローラ
に対応したプログラムを選択することによって開始され
ることを特徴とする請求項4記載のプログラマブルコン
トローラのデバッグシステム。
5. The system according to claim 4, wherein the debugging of the programmable controller is started by selecting a program corresponding to each programmable controller on a debugging tool.
【請求項6】 デバッグツールは、マルチウィンドウの
OSを有し、各プログラマブルコントローラに対応した
プログラムは、独立したウィンドウに表示されることを
特徴とする請求項4または請求項5記載のプログラマブ
ルコントローラのデバッグシステム。
6. The programmable controller according to claim 4, wherein the debugging tool has a multi-window OS, and a program corresponding to each programmable controller is displayed in an independent window. Debug system.
JP10299495A 1998-10-21 1998-10-21 Debugging system for programmable controller Pending JP2000132423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10299495A JP2000132423A (en) 1998-10-21 1998-10-21 Debugging system for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10299495A JP2000132423A (en) 1998-10-21 1998-10-21 Debugging system for programmable controller

Publications (1)

Publication Number Publication Date
JP2000132423A true JP2000132423A (en) 2000-05-12

Family

ID=17873322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10299495A Pending JP2000132423A (en) 1998-10-21 1998-10-21 Debugging system for programmable controller

Country Status (1)

Country Link
JP (1) JP2000132423A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193506A (en) * 2008-02-18 2009-08-27 Yamatake Corp Setting device, parameter setting operation support method and program
JP2015079509A (en) * 2013-10-15 2015-04-23 エルエス産電株式会社Lsis Co., Ltd. Event input module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193506A (en) * 2008-02-18 2009-08-27 Yamatake Corp Setting device, parameter setting operation support method and program
JP2015079509A (en) * 2013-10-15 2015-04-23 エルエス産電株式会社Lsis Co., Ltd. Event input module
US9864358B2 (en) 2013-10-15 2018-01-09 Lsis Co., Ltd. Event input module

Similar Documents

Publication Publication Date Title
US7877153B2 (en) Installation and method for a configuration of a control system
JP2000132423A (en) Debugging system for programmable controller
US5726895A (en) Combined two computer system
JP2002006907A (en) I/o unit and programmable controller system
CN103305922A (en) Control device of diffusion furnace
JPH0473900B2 (en)
JP2736201B2 (en) Operation device
JP3394834B2 (en) Debugging method for devices that make up a multiprocessor system
JP2002281033A (en) Usb connection port display system
US20080307208A1 (en) Application specific processor having multiple contexts
JPH10307654A (en) Multi-os supporting device
JPH09247874A (en) Electric power system monitor/controller
JP2001337915A (en) Calculation service providing system
KR100275569B1 (en) Handy loader for programmable logic controller
JPH0660087A (en) Production managing device
JPS5875203A (en) Sequence controller of double structure
JPS61198313A (en) Power supply controller of computer system
JPH03172921A (en) Electronic disk system
KR100477138B1 (en) Personal computer systems
JPH10133715A (en) Communication equipment system
JPS62266604A (en) Remote programming console device
JPS6394303A (en) Arithmetic control system
JPH05224583A (en) Plant simulation device
JPH11143613A (en) System for automatically setting application constitution
JP2004191483A (en) Data transfer device, data transfer system, data transfer method, and data transfer program